All Questions

2
answers

How can I create array in SQL Server?

In SQL Server Management Studio 2012 have the possibility to create array in a procedure? I did a google search and did not find, it seems like a table variable is used to store more than one value from a select.     
asked on 22.05.2016 / 12:50
1
answer

Algorithm to find common word sequence

I'm looking for a logic where I can find in an exorbitant amount of data, phrases that are common. Sentence in this context is a sequence of words. For example in these sentences: I'm traveling to Orlando from the South I really wante...
asked on 07.05.2016 / 17:07
3
answers

How to compare the structure of two SQL Server databases?

I need to compare the DDL structure of two databases, where one is the production bench and the other is the system approval. What tools can be used to do this?     
asked on 24.05.2016 / 17:49
2
answers

How to get the current date / time, regardless of the device?

Well, I know that when you create an object of type Date: new Date() , the device's time and date is returned, so if I get into settings and change these values, then the time returned will be different from the universal time or local, co...
asked on 05.05.2016 / 21:50
1
answer

Click a button through Class

I have the following button: <button class="btn btn-danger btn-lg btn-block betButton">Submit</button> And I would like to do a click on it through an event in javascript, but that's what to give me the following error: Unca...
asked on 25.05.2016 / 17:58
2
answers

How to define a global alias in BASH?

I'm using Terminal in Linux and I'm tired of repeating the same commands all the time. For example, I use a command almost all day, so I create an alias to make things easier. Example: alias tt="php artisan tinker --env=l...
asked on 10.05.2016 / 19:15
1
answer

What is the equivalent of PHP array_map in C #?

In PHP , I can create a new array based on an existing array , using the array_map function. With it, I can define a callback that is responsible for the settings of each value that will be used to create this "new arr...
asked on 27.04.2016 / 17:34
3
answers

Engine Unity5 error in code

I was creating a code for the one game and in the end some problems appeared: Assets/Scripts/Player/PlayerMovement.cs(63,23): error CS1547: Keyword 'void' cannot be used in this context Assets/Scripts/Player/PlayerMovement.cs(63,26): error CS...
asked on 19.05.2016 / 14:25
1
answer

Search only the smallest number of each letter

How do I find only the smallest number of letters in the Sql server? My table: Expected result: A - 1 B - 2 C - 1 D - 1 E - 3     
asked on 01.06.2016 / 15:47
1
answer

Date and Time and Weekend

I have a script , which does automatic scheduling of tasks. Through the line below, I get the current date / time, add another 5 minutes, and the script gets scheduled. $timeStamp = strtotime("+5 minutes", time()); But when it's a...
asked on 06.05.2016 / 04:14