![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi can u tell me how to fetch query from .sql file while working in DTS 2000? actually, I need to fetch query from . sql file(on local drive) and then want to execute this query on a sql database to export that sql data to a .txt file using dts 2000....... Hey ...give any comments.........yes, no, possible, not possible....anything......... |
and there're always a plenty
#3
| |||
| |||
|
|
Hi can u tell me how to fetch query from .sql file while working in DTS 2000? actually, I need to fetch query from . sql file(on local drive) and then want to execute this query on a sql database to export that sql data to a .txt file using dts 2000....... Hey ...give any comments.........yes, no, possible, not possible....anything......... |
and there're always a plenty
#4
| |||
| |||
|
|
Hi can u tell me how to fetch query from .sql file while working in DTS 2000? actually, I need to fetch query from . sql file(on local drive) and then want to execute this query on a sql database to export that sql data to a .txt file using dts 2000....... Hey ...give any comments.........yes, no, possible, not possible....anything......... |
and there're always a plenty
#5
| |||
| |||
|
|
Hi can u tell me how to fetch query from .sql file while working in DTS 2000? actually, I need to fetch query from . sql file(on local drive) and then want to execute this query on a sql database to export that sql data to a .txt file using dts 2000....... Hey ...give any comments.........yes, no, possible, not possible....anything......... |
and there're always a plenty
#6
| |||
| |||
|
|
Hi can u tell me how to fetch query from .sql file while working in DTS 2000? actually, I need to fetch query from . sql file(on local drive) and then want to execute this query on a sql database to export that sql data to a .txt file using dts 2000....... Hey ...give any comments.........yes, no, possible, not possible....anything......... |
and there're always a plenty
#7
| |||
| |||
|
|
Hi can u tell me how to fetch query from .sql file while working in DTS 2000? actually, I need to fetch query from . sql file(on local drive) and then want to execute this query on a sql database to export that sql data to a .txt file using dts 2000....... Hey ...give any comments.........yes, no, possible, not possible....anything......... |
and there're always a plenty
#8
| |||
| |||
|
|
Hi can u tell me how to fetch query from .sql file while working in DTS 2000? actually, I need to fetch query from . sql file(on local drive) and then want to execute this query on a sql database to export that sql data to a .txt file using dts 2000....... Hey ...give any comments.........yes, no, possible, not possible....anything......... |
and there're always a plenty
#9
| |||
| |||
|
|
Hi can u tell me how to fetch query from .sql file while working in DTS 2000? actually, I need to fetch query from . sql file(on local drive) and then want to execute this query on a sql database to export that sql data to a .txt file using dts 2000....... Hey ...give any comments.........yes, no, possible, not possible....anything......... |
and there're always a plenty
#10
| |||
| |||
|
|
On Jun 24, 3:37 pm, vaib <v... (AT) discussions (DOT) microsoft.com> wrote: Hi can u tell me how to fetch query from .sql file while working in DTS 2000? actually, I need to fetch query from . sql file(on local drive) and then want to execute this query on a sql database to export that sql data to a .txt file using dts 2000....... Hey ...give any comments.........yes, no, possible, not possible....anything......... For what i know anything is possible and there're always a plentyof ways to perform something. In your case i would prefer using bcp.exe But if you want to use DTS at any cost you should build a new package, then: - add an oledb connection to your server, - add an execute sql task that uses this connection - add a dynamic properties task that sets the sql statement of the previous task to your .sql file This task must be created after the execute sql task, but must obviously be run before it bye, M. |
![]() |
| Thread Tools | |
| Display Modes | |
| |