Viewing 15 posts - 241 through 255 (of 388 total)
You can use dynamic sql:
Declare @Tbl_Name varchar(200)
Declare @sql varchar(200)
Set @Tbl_Name = 'YourTable'
set @sql = 'Select * From '+@Tbl_Name
exec(@SQL)
March 31, 2006 at 10:02 am
If you saved it to the sql server and have backups of the msdb database you could restore this base onto another dummy instance and then open the package and...
March 28, 2006 at 3:43 pm
Microsoft has a a tool that does this already:
http://support.microsoft.com/default.aspx?scid=kb;en-us;271509
You look at the output using a ms tool called sherlok:
http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=49847
This can be scheduled and the output is easy to...
March 28, 2006 at 12:26 pm
Are you seeing the leading zeros missing when viewing in excel, or are they actualy missing if you open the csv in a text editor. Just guessing but excel maybe...
March 27, 2006 at 9:44 am
This should give you what you need, just need to doctor the script to insert into a reporting table, use a where clause on the insert where last run date...
March 26, 2006 at 11:25 am
you could pull all the file names into a temp table by calling the dos command dir through xp_cmdshell, after you have the file name in the table set up...
March 24, 2006 at 10:56 am
March 24, 2006 at 8:09 am
Don't know how your dmz is set up, but I would talk to your network guys and see if they can open up a port for you.
March 23, 2006 at 1:03 pm
Have a look at http://vyaskn.tripod.com/repl_ans2.htm#nosync
He describes the creation of these sp and how they are created
March 23, 2006 at 11:55 am
Have a look at sp_attach_single_file_db in bol, don't know if you will have issues running this against 2005 from a 2000 mdf you may want to try and attach first...
March 22, 2006 at 1:24 pm
This article has a function and examples of how to check for file status, you could modify the checking script and put that into an additional sql task and have...
March 20, 2006 at 1:14 pm
If the file you are restoring from is on a different machine use the unc path:
\\servername\foldername\filename.extension
You can test to see if the server you are restoring to can see...
March 17, 2006 at 8:52 am
on the left of the design page is the connection objects, choose a sql connection object and update the details with the server you want to connect to.
March 16, 2006 at 2:33 pm
Viewing 15 posts - 241 through 255 (of 388 total)