Viewing 15 posts - 1,996 through 2,010 (of 2,487 total)
DTS pacakges are stored as BLOBs in msdb..sysdtspackages. So no T-SQL query going to be able to extract the info you need.
cocr's suggestion is probably the closest you'll get...
October 28, 2003 at 3:10 pm
For a more efficient query, use a join clause instead of an IN.
eg:
select cust.*
from db1.dbo.Customers cust
Inner Join db2.dbo.MainAcc main
on cust.id = main.id
Hope this helps
Phill Carter
--------------------
Colt...
October 27, 2003 at 12:34 am
nchar is a unicode datatype an uses two bytes per character.
Check "Data Types" topic in Books Online.
Hope this helps
Phill Carter
--------------------
Colt 45 - the original point and click interface
October 27, 2003 at 12:30 am
The DTS package is stored as a binary object in msdb, so you won't be able to change it using a trigger.
Your best approach would be to dynamically assign things...
October 26, 2003 at 3:11 pm
How dynamic is your package? ie: do you assign items like the source and destination tables from global variables at run-time, or a they statically assigned when the package is...
October 23, 2003 at 5:30 pm
Take a look at the Tutorial section over at http://www.sqldts.com
http://www.sqldts.com/default.aspx?107
Hope this helps
Phill Carter
--------------------
Colt 45 - the original point and click interface ![]()
October 23, 2003 at 5:23 pm
Whle that is a workable solution, I don't prefer to go that path myself. It means that if you ever want to edit the SQL statement, maybe to add another...
October 23, 2003 at 4:58 pm
Take a look at "SQL Server Task Scheduling" in Books Online.
Hope this helps
Phill Carter
--------------------
Colt 45 - the original point and click interface ![]()
October 22, 2003 at 10:36 pm
From the fact that you're seeing "sp_cursoropen", I say that these pages are doing a lot of recordset processing.
ie:
While recordset1 not EOF
open recordset2 with recordset1 parameter
while...
October 22, 2003 at 5:56 pm
How's you network connectivity?
Maybe you have a dodgy NIC or driver.
Hope this helps
Phill Carter
--------------------
Colt 45 - the original point and click interface ![]()
October 21, 2003 at 5:18 pm
Are you getting the same errors?
Whenever you see '80004005' in the message it's something to do with security. This number is basically the catch-all access denied error.
Has something changed recently...
October 21, 2003 at 5:14 pm
Can you explain a bit more about what you are doing and what you want to achieve?
Hope this helps
Phill Carter
--------------------
Colt 45 - the original point and click interface
October 21, 2003 at 5:10 pm
Create a stored procedure that calls xp_sendmail and execute it instead of directly calling xp_sendmail. Then use the ? character to specify a parameter in the SQL statement.
eg: EXEC my_sendmail_proc...
October 21, 2003 at 5:09 pm
Viewing 15 posts - 1,996 through 2,010 (of 2,487 total)