Viewing 9 posts - 1 through 9 (of 9 total)
More RAM = More Performace. That is what I hope to see as we transition ~6 Servers running ~ 20 databases in 2000 to a singl 64bit SQL2005 box, and a...
May 15, 2007 at 1:09 am
Temp tables are the way to go when you need to step through data.
And, in-fact when every possible, I like to create real tables that are dbo. or user owned...
January 16, 2007 at 1:06 am
I recently wrote a slick SP that shells out and grabs the Directory information for a directory and loads all the details into a table. I could post that for...
November 4, 2006 at 9:40 pm
I would suggest importing as a VarChar(##), then you can add a date column and do something like this:
UPDATE tblImportData SET DateValueCol = Cast(Replace (Replace (DateTextCol,'a.m.','am') ,'p.m.','pm') AS DATETIME)
November 1, 2006 at 10:15 pm
A week ago, we just cut over from SQL7 to SQL8 from WINNT to WIN2003.
We feel your pain!
The key to getting these steps to work was shutting down EVERYTHING that...
October 13, 2006 at 11:12 am
From command line use BCP. For help, just type bcp /?
It is by far the fastest and easiest way to get data in and out of SQL.
July 7, 2006 at 1:33 am
I think the answer is missing a key word... (is)
Question: What's the difference between a server login and a database user?
Correct Answer: A server login connects an account...
May 9, 2006 at 11:43 pm
To make an exact duplicate of a table use SELECT * INTO...
--Copy all rows and column
USE PUBS
SELECT * INTO
dbo.COPYOF_authors
FROM dbo.authors
-- If you want no data in table...
SELECT * INTO
dbo.COPY2OF_authors
FROM dbo.authors
WHERE...
April 5, 2006 at 1:58 am
You can get the file name from the SYSdatabases table in master...
USE MASTER
SELECT filename FROM sysdatabases
WHERE name = 'pubs'
returns....
filename
---------------------------------
c:\sql\data\MSSQL\data\pubs.mdf
April 5, 2006 at 1:40 am
Viewing 9 posts - 1 through 9 (of 9 total)