Articles for SQL
-
Sql Snippets
19 commentsgood references: http://www.1keydata.com/sql/sqlin.html full text indexing: http://www.kodyaz.com/articles/SQL-Server-Full-Text-Search-Indexing.aspx heaps of awesome scripts, this guy is a genius: http://vyaskn.tripod.com/code.htm Some complicated selection algorithms, unfortunately written f...
Read More -
Find currently running tsql - current sql requests
0 comments Read More -
Compare two lists for 'same' content
0 comments Read More -
Importing Excel data to SQL insert statements
0 comments Read More -
Ascii art - excel to source code table
0 commentsIf you want to paste an example from excel into your source code - use this
Read More -
SQL sever recompile all views
0 comments Read More -
Email duplicates
0 commentsHow to find duplicates in sql database
Read More -
Azure - Creating External Tables
0 commentsHave troubles creating external tables? Check out these tips...
Read More -
Find all tables containing column with specified name
0 comments Read More -
SQL Server Recovery Mode
0 commentsIt is best to use SIMPLE because FULL keeps growing the log file
Read More -
SQL Server Full Text index populating
0 commentsSQL script to set up a recurring index population.
Read More -
Searching for tables without an Identity field
0 commentsSQL statement
Read More -
Search the database for a certain column
0 commentsIt helps to save time
Read More -
SQL Server Full Text Search - Quick Setup
0 commentsThe code for setting up fulltext search catalog and index on SQL server using SQL commands.
Read More -
SQL Server Fulltext Search
1 commentsHow to install SQL Server Fulltext search on an existing SQL Server instance Well after about 4 hours trying to figure this out, I have a solution ... To check if fulltext is already installed go to sql and run this query:select SERVERPROPERTY('IsFullTextInstalled') Download latest installer fo...
Read More -
How to prevent users seeing all databases in sql server
0 commentsTo prevent users to see other databases you need to: - run this DENY VIEW ANY DATABASE TO public - Remove the user from the db_owner role on the users database. (otherwise you cant set the user as owner on the database) (user -> properies -> user mapping -> database role membership) ...
Read More -
SQL Backup Scripts
0 commentsThere are a number of ways of running these scripts (in order of easiest to hardest): 1. Maintenance Tasks (uses SQL Agent) - easy GUI for backing up databases, cleaning up backups etc. ** NOT AVAILABLE IN SQL EXPRESS ** 2. SQL Agent Jobs (uses SQL Agent) (if you don't have Maintenance Tasks) all...
Read More -
SQL Server 2008
0 comments1. SQL Server 2008 Database put installation / migration / usage issues here 2. SQL Server 2008 Management Studio For your development machine you do not need to install the full SQL Server 2008 that includes the database engine. You just need the management studio. Installing SQL Server ...
Read More -
ASP Session State in a SQL database
0 commentsTo install asp sql server session state get the dba to run this on the web server. This is useful when the host starts recycling the app pool every few minutes! Open a command prompt Move to: C:\Windows\Microsoft.NET\Framework\v2.0.50727Run: aspnet_regsql -S dbserverNameOrIP -U dbusername -P p...
Read More