dbTalk Databases Forums  

General problem with global variables

microsoft.public.sqlserver.dts microsoft.public.sqlserver.dts


Discuss General problem with global variables in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Niklas
 
Posts: n/a

Default General problem with global variables - 07-27-2005 , 06:49 AM






Hi,

I get rid of these global parameters. I've a simple SQL task :

select lasttime from messagetrackingentry

I store the value of lasttime (datetime type) in a global variable of type
date.

Using this one as input parameter for a second select:

select * from messagetrackingentry where lasttime > ? doesn't work.

Every time, the first task is executed, the type of the global parameter in
the definition screen has changed to NULL and as a result executing both
tasks results in 'Parameter type is not supported'.

Please help!

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.