![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I'm new to SQL Server 2005 and I want to copy data from one db to another db. For source data flow object i want to use OLE DB Source Query bacause I want include variable in sql statement. SELECT Name,Tag,DDate, FROM ICRA_39_Dok WHERE (DDAte = ?) I have dat named package variable. |
#3
| |||
| |||
|
|
Hello Marko, If I get the question you are asking about parameterising the SourceSQLStatement for an OLEDB Source Adapter. If this is correct then it is quite simple Start with the statement you have as the Command Text. Now hit the Parameters Button to the right of the box. Now map the variable containing the value you want to use as the filter to the parameter. Have you tried this already? Did you get errors? Regards Allan Mitchell Konesans Ltd T +44 7966 476 572 F +44 2071 008 479 http://www.konesans.com I'm new to SQL Server 2005 and I want to copy data from one db to another db. For source data flow object i want to use OLE DB Source Query bacause I want include variable in sql statement. SELECT Name,Tag,DDate, FROM ICRA_39_Dok WHERE (DDAte = ?) I have dat named package variable. |
![]() |
| Thread Tools | |
| Display Modes | |
| |