I'm new be to DB2/AS400. I know writing sql queries to insert/update in the database but not sure how could i perform same thing in DB2/AS400.Can any body guide me how could i write the sql insert/stored procedure queries in db2 database
-
1Try something, start with their documentation, and if you get stuck, then come back here with a more focused question.Tim Biegeleisen– Tim Biegeleisen2018-03-26 07:46:19 +00:00Commented Mar 26, 2018 at 7:46
-
2Exactly the same way you do it with any other SQL database.jmarkmurphy– jmarkmurphy2018-03-26 12:54:25 +00:00Commented Mar 26, 2018 at 12:54
Add a comment
|
2 Answers
STRSQL as suggested previously would work fine but it is a green screen (5250 emulation) option; if you are not familiar with that environment, I would recommend you use the 'Run SQL Script' function from either IBM i Access Client Solutions or IBM i Navigator, whichever is available to you.
Comments
On the AS400 command line issue the following command.
STRSQL
Start Here and this is typical IBM documentation. It leaves you guessing why am I here.