SQL is not a case sensitive language
Press F5 for Execute SQL Query:
For Creating a Database we use
Example: create database DemoDB
Select or Use Database using Query:
Use [databasename]
Example: use DemoDB
Learn Basic C#, SQL Server, ADO.Net, Asp.Net, Java Script, Linq, WCF and Asp.Net MVC
One
Two
Three
Four
Five
One\nTwo\nThree\nFour\nFive
|
.
|
Matches any single character. An example of this is the regular
expression s.t would match the strings sat, sit, but not sight.
|
|
$
|
Matches the end of a line. For instance, the regular expression reason$
would match the end of the string "He has a reason" but not the
string "He has his reasons"
|
|
^
|
Matches the beginning of a line. For instance, the regular expression
^Where would match the beginning of the string "Where is my cap"
but would not match "Do you know Where it is " .
|
|
*
|
Matches zero or more occurrences of the character immediately preceding.
For example, the regular expression .* means match any number of any
characters.
|
|
[ ]
[c1-c2]
[^c1-c2]
|
·
Matches any one of the characters between the
brackets.
For example, the regular expression s[ia]t matches sat, sit, but not set.
·
Ranges of characters can specified by using a
hyphen.
For example, the regular expression [0-9] means match any digit. Multiple ranges can be specified as well. The regular expression [A-Za-z] means match any upper or lower case letter.
·
To match any character except those in the
range, the complement range, use the caret as the first character after the
opening bracket.
For example, the expression [^123a-z] will match any characters except 1,2, 3, and lower case letters. |
|
|
|
Or two conditions together. For example (him|her) matches the line
"it belongs to him" and matches the line "it belongs to
her" but does not match the line "it belongs to them."
|
|
+
|
Matches one or more occurrences of the character or regular expression
immediately preceding. For example, the regular expression 9+ matches 9, 99,
999.
|
|
?
|
Matches 0 or 1 occurrence of the character or regular expression
immediately preceding.
|
|
{i}
{i,j}
|
·
Match a specific number of instances or
instances within a range of the preceding character.
For example, the expression A[0-9]{3} will match "A" followed by exactly 3 digits. That is, it will match A123 but not A1234.
·
The expression [0-9]{4,6} any sequence of 4,
5, or 6 digits
|