amazon web services - How do I call a stored procedure in SQL Server with Data Pipeline in ShellCommandActivity (AWS Data Pipeline) -


i know can call mysql procedure script below, same possible sql server?

mysql --host host_url --port port_number --user username --password password --execute="call stored_proc_name; 

i have sql server express, , need setup procedure run daily. it's on rds, , sql server express doesn't have task scheduler..

the following should work:

  • download sql server jdbc driver. choose download tar.gz file , unzip it. among extracted files should file named sqljdbc.jar. upload s3. licensing reasons, aws not able distribute file.
  • create data pipeline jdbcdatabase object refer sql database. set jdbcdriverjaruri s3 location. set driver class name "com.microsoft.sqlserver.jdbc.sqlserverdriver".
  • invoke exec command data pipeline sqlactivity. sqlactivity refer jdbcdatabase object you've defined.

Comments

Popular posts from this blog

Combining PHP Registration and Login into one class with multiple functions in one PHP file -

magento2 - Magento 2 admin grid add filter to collection -

Android volley - avoid multiple requests of the same kind to the server? -