Viewing 15 posts - 2,416 through 2,430 (of 3,616 total)
Don't all indexes hang of the clustered index?
If you rebuild a non-clustered index and then rebuild the clustered index doesn't that alter the first index?
I have noticed that DBCC UPDATEUSAGE(0)...
February 13, 2006 at 1:18 pm
Have you asked the job to notify you on success.
I had a situation where I got SQLMail to email me on successful completion. Something went pear shaped on the...
February 13, 2006 at 12:38 pm
If an attempt is made to insert a value in a table with an identity value and it fails the identity value still increments.
I would run a SQL Profiler to...
February 13, 2006 at 12:34 pm
What value do you have for adCmdStoredProc?
February 13, 2006 at 12:23 pm
In terms of performance I don't think there will be any difference.
I prefer to specify the columns because if the underlying table changes its structure my query is still bringing...
February 11, 2006 at 4:58 am
Firstly SQL Server has two functions that get the system date
GETDATE() retrieves the current system date
GETUTCDATE() which retrieves the Greenwich Meantime Date and Time
There are several ways of getting the...
February 11, 2006 at 4:51 am
My question would be "Why do you want to do this"?
If it is something that the front end application requires then I would return the original recordset but have the...
February 10, 2006 at 11:40 am
Yes
Provided your query uses Col A the index will be used.
February 10, 2006 at 11:34 am
CREATE PROC dbo.MonthReport @YearOne CHAR(4) , -- I an assuming that Year is a 4 character string such as 1999 @CID VARCHAR(50) -- I am assuming that CID is the customer name. ...
February 10, 2006 at 11:33 am
It looks like the psuedo syntax out of a reporting tool.
Cognos queries sort-of look like SQL but aren't really.
February 10, 2006 at 3:17 am
I would not be nervous of the physical process but would be very nervous from the perspective of capacity.
I worked on a project where it was calculated that running 2...
February 10, 2006 at 1:39 am
Wrap your CASE statement in a CAST(CASE statement AS CHAR(3))
I have had problems with BIT fields doing peculiar things
February 9, 2006 at 12:18 pm
I would try and use DTS but have three separate queries. The first would be
select
serverproperty ('servername') as 'Server' ,
ISNULL(serverproperty ('InstanceName'),'') AS 'Instance Name' ,
serverproperty ('edition') as 'Edition',
serverproperty ('productlevel')...
February 9, 2006 at 11:53 am
Firstly what are the datatypes of your three columns and why store a date as three columns when a SMALLDATETIME will do?
My approach would be to use the CONVERT statement...
February 9, 2006 at 11:45 am
Why not read a different thread then and leave us old farts to wallow in the rosy glow of nostalgia.
* * *
Of course no one is mentioning having to crimp...
February 9, 2006 at 11:29 am
Viewing 15 posts - 2,416 through 2,430 (of 3,616 total)