Viewing 15 posts - 511 through 525 (of 709 total)
When you create a unique constraint, a unique index is created to enforce it.
-Eddie
Eddie Wuerch
MCM: SQL
March 12, 2007 at 4:19 pm
Just echoing other comments opposed to hard-coding an objects type in the object's name ("t", "tbl", "v", "viw", "int" - prefix or suffix): it is a blueprint for disaster. As databases and...
Eddie Wuerch
MCM: SQL
March 8, 2007 at 1:09 am
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/ado270/htm/mdmthcreateparam.asp
Set parameter = command.CreateParameter (Name, Type, Direction, Size, Value)
You are setting your parameter lengths to 50.
SET objParam1 = objData2.CreateParameter("@ObjID",129, 1, 50)
Set the length value to 75,...
Eddie Wuerch
MCM: SQL
March 4, 2007 at 9:42 am
I split all of our full Litespeed backups into 4 files, this includes a database approaching 3TB. I send different files to different SANs through multiple HBAs for better throughput.
If...
Eddie Wuerch
MCM: SQL
February 21, 2007 at 11:14 am
You can use the dynamic management view sys.dm_exec_query_stats to pull out execution statistics. I took some code I use to examine the query plans of problem spids (via sys.dm_exec_query_plan), and...
Eddie Wuerch
MCM: SQL
February 16, 2007 at 2:33 pm
Betty,
The value 6447.53 is effectively a prime number for two decimal places. The true average of the 7 values used to produce that value cannot be expressed with only 2...
Eddie Wuerch
MCM: SQL
February 16, 2007 at 1:32 pm
I'm guessing SQL Server 2000 here.... if you were using SQL 2005 you'd build the dll as a .net assembly, and just import the assembly with EXTERNAL access and...
Eddie Wuerch
MCM: SQL
February 15, 2007 at 2:45 pm
If you are concerned about precision and accuracy, then stay away from the float and real datatypes, which only store approximate values.
From BOL: "Because of the approximate nature of the...
Eddie Wuerch
MCM: SQL
February 15, 2007 at 2:31 pm
SQL Server licensing has nothing to do with the number of connections.
It's either per-processor or server + CAL.
Per-processor = unlimited users, devices, and connections.
Server + CAL = Each server must...
Eddie Wuerch
MCM: SQL
February 13, 2007 at 9:16 am
All of the WHERE clauses in the view are unnecessary. The CHECK constraints on your tables take care of everything, provided SQL recognized the view as a partitioned view.
-Eddie
Eddie Wuerch
MCM: SQL
February 9, 2007 at 1:54 pm
Check out the command-line tool RELOG. It allows you to take log files created by Windows SysMon/PerfMon and convert them to different formats, including exporting them to SQL Server databases....
Eddie Wuerch
MCM: SQL
January 25, 2007 at 10:52 am
There are so many changes in the platform and the services that a three-year timeout on the cert is quite valid, and only adds value to the cert. (Upgrade exams...
Eddie Wuerch
MCM: SQL
January 25, 2007 at 12:50 am
I'd just kill the job for a week and see if performance tanked, or other indicators that things were too fragged (i/o's per second steadily increase, i/o-related wait counts and...
Eddie Wuerch
MCM: SQL
January 25, 2007 at 12:35 am
Test systems should at least try to mimic production.
If the database is called 'prod_database' in production, then call it 'prod_database' in test, dev, qa, whatever. Name the server or instances...
Eddie Wuerch
MCM: SQL
January 25, 2007 at 12:15 am
I've spent a lot of time on the phone with MS SQL Server support over the last few weeks. They've sent us some private patches for some bugs we've come...
Eddie Wuerch
MCM: SQL
January 23, 2007 at 12:42 am
Viewing 15 posts - 511 through 525 (of 709 total)