Viewing 15 posts - 49,651 through 49,665 (of 59,091 total)
You can get an accurate rowcount from sys.indexes if you first run DBCC UpdateUsage(0)
It'll be a lot faster than getting a row count from every table in a database with...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 26, 2008 at 7:20 pm
Yes... you need to (must) use a BCP Format file to do this with Bulk Insert... the double-quote part of the delimiter you want (two charters... either ," or ",)...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 26, 2008 at 7:14 pm
o2srule (6/26/2008)
--Jeff Moden
Change is inevitable... Change for the better is not.
June 26, 2008 at 7:05 pm
OSQL utility might be better... it will do everything that SQL Server will do... ISQL doesn't have all the features (if I remember correctly).
--Jeff Moden
Change is inevitable... Change for the better is not.
June 26, 2008 at 6:45 pm
SELECT DATEADD(dd,DATEDIFF(dd,0,GETDATE()),0),
GETDATE()-DATEADD(dd,DATEDIFF(dd,0,GETDATE()),0)
--Jeff Moden
Change is inevitable... Change for the better is not.
June 26, 2008 at 6:36 pm
jjssilva (6/26/2008)
Check Buffer Cache values. Also, how big are the Databases?The DB shouldn't take more than 80% of the available RAM.
So... what do you do when you run against a...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 26, 2008 at 6:34 pm
Mark... does your Tally table have a clustered PK on it?
--Jeff Moden
Change is inevitable... Change for the better is not.
June 26, 2008 at 6:28 pm
Heh... no problem... if you think no coffee is bad, I'm trying to quit smoking... got anyone you want to take to a porkchop dinner? 😀
--Jeff Moden
Change is inevitable... Change for the better is not.
June 26, 2008 at 6:07 pm
toniupstny (6/26/2008)
--Jeff Moden
Change is inevitable... Change for the better is not.
June 26, 2008 at 5:52 pm
venki (6/26/2008)
Especially Jef and Pduplessis,
Heh... I think it's a bit funny that you can spell "Pduplessis" correctly, but not "Jeff"... 😛
--Jeff Moden
Change is inevitable... Change for the better is not.
June 26, 2008 at 5:47 pm
LEFT(columnname,50)
--Jeff Moden
Change is inevitable... Change for the better is not.
June 26, 2008 at 5:44 pm
Yep... "Read Committed" is the default on most of the other editions (At least Standard, Enterprise, and Developer's Editions... dunno about the others). Thanks for the tip on the...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 26, 2008 at 5:43 pm
jthomastx (6/26/2008)
--Jeff Moden
Change is inevitable... Change for the better is not.
June 26, 2008 at 5:32 pm
GSquared (6/26/2008)
--Jeff Moden
Change is inevitable... Change for the better is not.
June 26, 2008 at 5:24 pm
Steve Jones - Editor (6/26/2008)
--Jeff Moden
Change is inevitable... Change for the better is not.
June 26, 2008 at 5:22 pm
Viewing 15 posts - 49,651 through 49,665 (of 59,091 total)