Viewing 15 posts - 256 through 270 (of 663 total)
A great fan of Joe Celko smarties.
Won't use "great solution" in production.
Agree the "Select *" will take few DBA years to be weeded out.
August 17, 2003 at 3:25 am
Thks, will end up as another A4 poster on the cubicle wall
August 15, 2003 at 4:17 am
How many records. Very interesting question.
Suppose you would have read BOL: "Logged and Minimally Logged Bulk Copy Operations"
Maybe compare with BCP alone versus BCP out and...
August 14, 2003 at 8:49 pm
Could not reproduce on SQL 2000.
Would you mind to try the following :
Create Table TTest(AA int,jnk varchar(10),BB int,CC float,DD tinyint,EE real,jnkII char(10))
GO
declare @NumericColsAdded varchar(8000),
...
August 14, 2003 at 5:55 am
Agree with mccork.
Try a Select 'Before Insert' and Select 'After Insert' after the actual Insert.
Alternatively step through proc.
August 13, 2003 at 9:44 pm
I think remove "WITH FILE = 2" from the second restore
BOL: FILE = { file_number | @file_number }Identifies the backup set to be restored.
Assumption you backuped...
August 13, 2003 at 2:21 pm
What about the crdate
Select * from Master..SysDatabases
Where CRDate>=DateAdd(d,-1,GetDate())
August 13, 2003 at 5:08 am
I think changing "(SELECT DISTINCT clientStoreNum FROM tblStore Where clientId =@clientid)" from "(SELECT DISTINCT clientStoreNum FROM tblStore)" should do it
August 13, 2003 at 4:57 am
How about the database reverse engineering feature of some products like Visio?
August 13, 2003 at 4:37 am
Declare @Month INT
Select @Month=5
Select Datename(Month,'2001-'+Cast(@Month as Varchar(2))+'-1')
August 13, 2003 at 12:22 am
"C:\Program Files\Microsoft SQL Server\MSSQL\Binn\sqlmaint" -S lene -D Northwind -CkDB -CkCat -Rpt C:\Northwind.rpt
if errorlevel 1 echo ERROR
if errorlevel 0 echo OK
"C:\Program Files\Microsoft SQL Server\MSSQL\Binn\sqlmaint" -S lene -D MSDB -CkDB...
August 13, 2003 at 12:15 am
Is the query plain vanilla inner join, etc. no group by, order by or aggregates etc.
I'll go with the upto date indexes first(a5xo3z1).
On average, what will be the number...
August 12, 2003 at 6:02 am
Previous posters said it all.
Maybe schedule deletes for 2:00 am (low activity).
August 12, 2003 at 5:05 am
Viewing 15 posts - 256 through 270 (of 663 total)