Go Back   Data Center, Colocation, Cloud Computing, Storage, Dedicated Servers Forums > Server Rack / SAN/NAS Storage Forum > Server Discussion

Reply

 

Thread Tools
  #1  
Old 09-17-2015, 02:38 PM
winson winson is offline
Junior Member
 
Join Date: Sep 2015
Posts: 25
Default SQL statement

I am looking for making a job which is have SQL statement executed. I have i5 system OS and database db2. I need some command statements and such options.
Reply With Quote
  #2  
Old 09-17-2015, 02:49 PM
stepen stepen is offline
Member
 
Join Date: Sep 2015
Posts: 46
Default

There is an easy way to execute SQL commands. You can use AIX shell script to make such commands in your db2 databases. Make sure you fix the runtime variables and schedule it to run the script. It is a very old method so I am not sure it is gonna work for the new OS you are using. But I know another way to do this. You can make a source member and run RUNSQLSTM to type sql statements.
Reply With Quote
  #3  
Old 12-22-2015, 06:18 AM
jamesnader jamesnader is offline
Junior Member
 
Join Date: Dec 2015
Posts: 7
Default

I don't know about it but if the best thing to do pass the script into a stored procedure, may be there will be some command can not be stored inside procedure.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 08:24 AM.

Member Area



Data Center Industry Daily News


Cloud and Dedicated Hosting


Sponsors Managed Servers Sponsored by DedicatedNOW.
Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2024, vBulletin Solutions, Inc.