Viewing 15 posts - 49,651 through 49,665 (of 59,099 total)
schuppe (6/26/2008)
insert into testtable values(getdate(), dateadd(day, 5, getdate()));
with test (startdate, enddate) as
(select startdate, enddate from testtable
union all
select dateadd(day, 1, test.startdate), test.enddate...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 26, 2008 at 7:56 pm
Michael Earl (6/26/2008)
--Jeff Moden
Change is inevitable... Change for the better is not.
June 26, 2008 at 7:52 pm
GSquared (6/26/2008)
--Jeff Moden
Change is inevitable... Change for the better is not.
June 26, 2008 at 7:46 pm
In that same vein...
DROP TABLE JBMTest
GO
--===== Create and populate a 1,000,000 row test table.
-- Column "RowNum" has a range of 1 to 1,000,000 unique numbers
...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 26, 2008 at 7:40 pm
First, the warning about nulls is just that... a warning to let you know that some rows had nulls and they were ignored. You can suppress that message with...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 26, 2008 at 7:37 pm
Heh... rowcount can be wrong in sysindexes unless you run the correct DBCC command to update them... that's a hint... look it up in Books Online.
--Jeff Moden
Change is inevitable... Change for the better is not.
June 26, 2008 at 7:31 pm
I dunno... I'm thinking that's about the 100th 64 bit related performance problem that I've seen in the last month or so... I'm thinking the 64 bit version is like...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 26, 2008 at 7:29 pm
With the information given, I would say the xyz.exe has a problem that needs to be repaired. Just because it compiles doesn't mean it's right... 😉
--Jeff Moden
Change is inevitable... Change for the better is not.
June 26, 2008 at 7:26 pm
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
Viewing 15 posts - 49,651 through 49,665 (of 59,099 total)