C# and T-SQL command-line Utility

Posted by Chad Sellers on Stack Overflow See other posts from Stack Overflow or by Chad Sellers
Published on 2010-06-17T18:42:05Z Indexed on 2010/06/18 13:23 UTC
Read the original article Hit count: 487

Group,

Part 1: I'm currently working on a command line utility that can take args and update a local database. The only issue I have is once i established a "Data connection"..how can I use those args for queries and searches.

For example: ~//arrInput.exe "parm1" "pram2" "pram3"

Part 2: I would like to take in command line args and use them as input parms for a "stored proc". Once finished execution....used the same inputs crate a log file.

For example output file:

mm-dd-yyyy hh:mm:ss - pram1,pram2,...

pram1: updated/failed

pram2: update/failed

Thanks,

Chad

© Stack Overflow or respective owner

Related posts about c#

Related posts about tsql