Viewing 15 posts - 301 through 315 (of 387 total)
filter on dbid
USE master
SELECT name, DB_ID(name) AS DB_ID
FROM sysdatabases
ORDER BY dbid
November 1, 2005 at 10:22 am
The install works fine, the warning message is informational. After the install simply add the sp.
October 31, 2005 at 3:34 pm
This will give you what you need (think I got it from here originaly) delete or add a line to get more or less digits:
select CAST ( CONVERT ( INT,...
October 31, 2005 at 9:58 am
You could have a look at this ms article: http://support.microsoft.com/default.aspx?scid=kb;en-us;271509
Schedule this to run whenever the dts is going to be run and then look at the output file.
October 31, 2005 at 9:42 am
Look up sp_changedbowner in bol, should give you what you need
October 18, 2005 at 9:30 am
If its a dev box are you looking to get data back or code, if its code then you could Reset the Suspect Status and try and run a dbcc...
October 17, 2005 at 11:39 am
Might be an idea to create a user table on a test box and then run the sql to change the user table to system table, while this is happening...
October 14, 2005 at 10:23 am
instead of referencing a mapped drive use the full unc path:
\\servername\drivename\folder\etc
October 13, 2005 at 1:47 pm
First easy thing to do is put in more ram if you have more slots, its relativley cheap and usualy gives a good return. Depending on the sql version you...
October 7, 2005 at 1:12 pm
DOH!
Thanks cmille19, should have actualy used my brain on this. Working like a charm now.
October 6, 2005 at 4:08 pm
I am having message server does not exist. Any tips on what I am doing wrong would be appreciated.
October 6, 2005 at 2:46 pm
create a sql job and have the first step execute this code:
--set recovery model
Set quoted_identifier off
use master
go
DECLARE @dataname varchar(100)
DECLARE datanames_cursor CURSOR FOR SELECT '['+name+']' FROM sysdatabases
WHERE name not in...
October 6, 2005 at 11:02 am
You could save them as visual basic files and then open each one in text editor and search.
October 4, 2005 at 11:30 am
Don't know if the log file is corrupt or not, but you could use sp_attach_single_file_db (look it up in bol) stored proc which will recreate the log file if the database...
October 3, 2005 at 10:18 pm
I believe sql is doing an implicit conversion of int to date.
September 29, 2005 at 8:40 pm
Viewing 15 posts - 301 through 315 (of 387 total)