RE: Unix commands within SQL Agent Job
Hi GBDBA, how about creating a step in your job and use EXEC xp_cmdshell <your_command>? What do you want to do? Cheers, Frank
2003-06-17
2 reads
Hi GBDBA, how about creating a step in your job and use EXEC xp_cmdshell <your_command>? What do you want to do? Cheers, Frank
2003-06-17
2 reads
You'll have the least amount of problems using DTS import/export wizard. Select the source server/database and the destination server/database and choose to Copy Objects and Database between SQL Server databases. Check all uncheck "create destination objects..." depending on your circumstances. If creating new objects at the target, I recommend including dependent objects too. Obviously choose […]
2003-06-14
1 reads
Did you look at BOL? There are a couple of items to check there. 1) Under "Managing DTS Package Programs" there is a section at the bottom titled "Saving and Loading Packages" that looked plausible and probably a bit like your technet advice. 2) There also appears to be a method you might employ, LoadFromSQLServer. […]
2003-06-06
1 reads
I've already tried sp_changedbowner, but as the user warehouse already exists - i get 'The proposed new database owner is already a user in the database.' I will try your proposed method - thankyou
2003-06-05
Hi dani_17 quote: I have made I site in asp.net of used cars in the dominican republic. The site is quite successfull and in the 3rd month I have about 1,500 visitors per day and at least I cover expenses 😛 Congratulations! quote: id(int) - id of the car. hits(decimal)- the number of visits the […]
2003-06-05
2Jeremy Kemp: The procedure I call from the job does a number of backups in a cycle: set @backup_command = 'BACKUP DATABASE ' + @db_name + ' TO DISK=''' + @full_backup_path + @db_name + '\' + @db_name + '.BAK''' + ' with INIT' exec(@backup_command) -- if backup is successfull, it updates the LastBackup field in […]
2003-06-05
Could you provide a generic example of what you are trying to accomplish? I'm not following what you mean by: <b> Is it possible to catch the field that was inserted to only affect it with an update statement </b> Darren
2003-06-04
2003-06-03
Within Enterprise Manager, you can right click on the database and choose All Tasks -->Generate SQL Scripts... On the options tab you can choose whether you want primary keys, foreign keys, defaults, etc. scripted. Then you should be able to take that script and get the structures created on the new server. In DTS, you […]
2003-05-28
1 reads
The password shoudn't be written to the job. You should check the script that you are running, that doesn't print the sa password.
2003-05-27
By Steve Jones
Thanks to everyone that came to my talks. Slides are below. Best Practices for...
By Steve Jones
I can’t remember how I heard about Small Data SF 2024, but it caught...
By Steve Jones
moledro – n. a feeling of resonant connection with an author or artist you’ll...
Comments posted to this topic are about the item 7 sept, scheduled book
Comments posted to this topic are about the item 7 sept, schedlued article
Comments posted to this topic are about the item 6 sept, published book
Azure Data Lake Storage Gen 2 is built on ...?
See possible answers