Viewing 15 posts - 1,696 through 1,710 (of 2,486 total)
No need to even involve DTS or SQL.
Using VBScript, open two TextStream objects (one for input the other for output). Read a line from the input stream, write your first...
September 8, 2004 at 4:32 am
Check the Microsoft website. Can't recall the KB number at the moment, but there are specific instructions of what you need to do to allow SQL to communicate via TCP.
September 8, 2004 at 4:20 am
Use the inbuilt DTS FTP Task.
If you know the path to the file, you set it statically using Disconnected Edit, or dynamically using Dynamic Properties task.
September 8, 2004 at 4:20 am
1) Ugh ... I hate those ...
3) Try using WScript.Shell to just run the command without the %comspec%
September 2, 2004 at 2:55 am
But the error from the ExecSQL task will be in the package logging tables for you to query? Once you've extracted it you can act on it.
Also, do you know...
September 2, 2004 at 2:50 am
The script debugger is just that, a debugger for VBScript.
You can't debug anything other than VBScripts.
September 2, 2004 at 2:43 am
As much as it sounds, keep it simple and go for option 1.
Then you'll also have the option of manually re-running any of the individual packages.
If there is any hierarchy...
September 1, 2004 at 4:50 am
Checkout the following MSDN article.
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/distsql/distsql_84xl.asp
Probably Example B is what you're after.
August 17, 2004 at 10:27 pm
Nice article.
Only thing I would change is using a permanent table instead of a temporary one.
Then you can accumulate the data and perform some analysis on it.
August 16, 2004 at 5:18 pm
Steve mentioned "I typically don't review the scripts when they are submitted because honestly I don't have time". I'm sure this is true of the other site owners as well.
Would...
August 16, 2004 at 5:11 pm
What do you mean by "only use one data provider", I've got a couple of reports that reference different databases both in SQL Server and Progress via ODBC.
One report in...
August 15, 2004 at 6:07 pm
Instead or querying sysindexes and INFORMATION_SCHEMA, check Books Online for the DBCC SHOWCONTIG command. It has an option called TABLERESULTS which return the information in table form.
EG:
CREATE TABLE #Fraglist (
ObjectName...
August 12, 2004 at 5:34 pm
SQL 2000 doesn't have a date datatype, you'll have to wait for SQL Server 2005 for that.
When you insert the date into a datetime field it will automatically add 00:00:00...
August 3, 2004 at 10:13 pm
To set the Retry in the job.
Edit the step, select the Advanced tab, fill in values for 'Retry attempts' and 'Retry Interval'.
August 3, 2004 at 10:05 pm
Viewing 15 posts - 1,696 through 1,710 (of 2,486 total)