Can we use any stage in Sequence to run the SQL to get the row count from a table instead of using a ODBC or native plug-in stage od a database in a job and putting them in a file then reading from the file.....
Any suggestions??
Thanks
Can we use command activity to run a small SQL
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 46
- Joined: Wed Sep 28, 2005 9:24 am
Can we use command activity to run a small SQL
Thanks and Regards
Vin
Vin
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
At the risk of being less efficient, you can use an Execute Command activity to run a script to execute SQL against a database. You may need to strip extraneous newline and white space characters from the command output.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.