Viewing 12 posts - 1 through 12 (of 12 total)
I made a simple procedure some time ago which does what you are looking for.
ALTER PROCEDURE sp_Unzip (@SourceDir VARCHAR(100), @DestinationDir VARCHAR(100), @ZipFile VARCHAR(100))
AS
-- DECLARE @SourceDir VARCHAR(100), @DestinationDir VARCHAR(100), @ZipFile VARCHAR(100)
--...
April 28, 2006 at 5:19 am
BOL is very clear about this...
CREATE PROCEDURE au_info2
@lastname varchar(30) = 'bla'
AS
this sets 'bla' as the default for @lastname. When executing it looks like this...
execute au_info2 @lastname = 'blabla'
now...
March 24, 2006 at 4:54 am
What I did for one of my projects, was create a SP which is started from an insert trigger.
This SP then creates a new unique job using newid() as the...
March 24, 2006 at 4:49 am
Why not just use a tool called DTS Backup??
For more info check...http://www.sqldts.com/default.aspx?242
March 24, 2006 at 4:42 am
All,
The problem has been solved by storing the data into a table using NEWID() as the table name. The stored procedure the creates a job (also using newid() as the...
March 20, 2006 at 1:48 pm
Try this.
http://www.sqldev.net/xp/xpsmtp.htm
It's SMTP based so you don't need the server agent to have a mail account.
March 10, 2006 at 2:47 pm
see if this works....
1. store data into excel sheet with temp name
2. copy the excel file to a file with the correct name via an activex task using fso
3. send...
March 3, 2006 at 4:22 pm
what aboout this...
declare @rowcount tinyint
declare @row tinyint
select blablabla this returns your 5 records or whatever the number maybe
@@rowcount will tell you how many rows were affected by your previous statement,...
March 3, 2006 at 3:58 pm
Why not store the 1million correct records into some table and truncate the ori table and insert the 1million back??
March 3, 2006 at 3:44 pm
Have you looked at the RedGate tools??
I use them all the time and make things a lot easier.
Good luck.
Cheers,
Rob
March 3, 2006 at 3:28 pm
Viewing 12 posts - 1 through 12 (of 12 total)