What is the wildcard character in SQL?
Let’s say you want to query database with LIKE for all employees whose name starts with La. The wildcard character is %, the proper query with LIKE would involve... Read more »
Let’s say you want to query database with LIKE for all employees whose name starts with La. The wildcard character is %, the proper query with LIKE would involve... Read more »
SQLServer.NET data provider is high-speed and robust, but requires SQL Server license purchased from Microsoft. OLE-DB.NET is universal for accessing other sources,... Read more »
It returns a read-only, forward-only rowset from the data source. A DataReader provides fast access when a forward-only sequential read is needed. Read more »
Yes. The keyword “sealed” will prevent the class from being inherited. Read more »
A catch block that catches the exception of type System.Exception. You can also omit the parameter data type in this case and just write catch {} Read more »
The Clone() method returns a new array (a shallow copy) object containing all the elements in the original array. The CopyTo() method copies the elements into... Read more »
StringBuilder is more efficient in cases where there is a large amount of string manipulation. Strings are immutable, so each time a string is changed, a new... Read more »
System.String is immutable. System.StringBuilder was designed with the purpose of having a mutable string where a variety of operations can be performed. Read more »
The data value may not be changed. Note: The variable value may be changed, but the original immutable data value was discarded and a new data value was created... Read more »
STARTUP is the process of starting an instance, presumably with the intent of mounting and opening a database in order to make a database system available for use. To... Read more »
Use the OpenRowSet Function to Run a Query on a Remote SQL Server You can use the OPENROWSET( ) function to run a query on a remote SQL server by using the following... Read more »
To find rows in one set that do not exist in another set, use the except operator (as defined in SQL-92 and SQL-99). For example, here’s how you find column1... Read more »
All you need to do is compare the table to itself to find out which candidates are duplicates. Do this by assigning aliases to the table so you can use it twice,... Read more »
If you want to query the version of SQL Server that’s currently running you can use the @@version variable: SELECT @@version This returns the version, processor,... Read more »
SQL Server has no native command for outputting query results to a file. You can use the extended stored procedure xp_cmdshell and call isql (command-line SQL)... Read more »