Category: SQL Server

SQL Cache Dependency with SqlDataSource

To enable a cache dependency on a particular database, run this command in from a command-line prompt: This creates a new table, AspNet_SqlCacheTablesForChangeNotification, in the designated database. Next, several AspNet_SqlCacheXxxx stored procs are created...

SQL Server Collation Options

“CS” / “CI” – Obviously, this one is just case sensitivity between upper and lower case. The default during SQL Server install as well as a database creation is “case insensitive”. With case-insensitive, your queries...

T-SQL Cursor Usage

Cursor allows us to perform line-by-line operations within the returned values in SQL Server. We make this structure, which we use frequently in programming languages, thanks to the cursor in the database. We can...