Skip to content

Instantly share code, notes, and snippets.

@nakagami
Last active July 8, 2017 07:52
Show Gist options
  • Select an option

  • Save nakagami/fb4bfb935c3f18cf0926b1b2e2099a12 to your computer and use it in GitHub Desktop.

Select an option

Save nakagami/fb4bfb935c3f18cf0926b1b2e2099a12 to your computer and use it in GitHub Desktop.
DB2 command sample
#/bin/sh
db2 connect to test user db2admin using secret
db2 "select * from project where majproj='OP2010'"
db2 "select * from vstafac2 where projno='OP2010'"
db2 terminate
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment