Topic
  • 4 replies
  • Latest Post - ‏2013-06-04T22:28:50Z by duliocr
duliocr
duliocr
3 Posts

Pinned topic db2 data studio sample data

‏2013-06-03T19:42:48Z |

How can I download/install/connect to db2 data studio sample database?.

thanks

  • David.Zhu
    David.Zhu
    67 Posts
    ACCEPTED ANSWER

    Re: db2 data studio sample data

    ‏2013-06-04T13:52:28Z  

    Which platform are you database installed?

    For windows

    1. Open an terminate
    2.  Execute "db2cmd"
    3. "db2sampl.exe"

    For Unix or linux,

    1. Switch to instance user
    2. db2sampl

    Then it will create the sample database for you.

  • LukeNumrych
    LukeNumrych
    60 Posts
    ACCEPTED ANSWER

    Re: db2 data studio sample data

    ‏2013-06-04T20:09:56Z  
    • duliocr
    • ‏2013-06-04T16:47:05Z

    Thank you David, this is for windows platform. What is Open an terminate?. Could I please get the step by step to run this command. Do I run this from a DOS command? Thank you very much.

    I think David meant "Open a terminal".  Good old command line...  either start -> run cmd.exe and follow step 2 from then on, or skip directly to step 2 and start -> run db2cmd.

  • David.Zhu
    David.Zhu
    67 Posts

    Re: db2 data studio sample data

    ‏2013-06-04T13:52:28Z  

    Which platform are you database installed?

    For windows

    1. Open an terminate
    2.  Execute "db2cmd"
    3. "db2sampl.exe"

    For Unix or linux,

    1. Switch to instance user
    2. db2sampl

    Then it will create the sample database for you.

  • duliocr
    duliocr
    3 Posts

    Re: db2 data studio sample data

    ‏2013-06-04T16:47:05Z  
    • David.Zhu
    • ‏2013-06-04T13:52:28Z

    Which platform are you database installed?

    For windows

    1. Open an terminate
    2.  Execute "db2cmd"
    3. "db2sampl.exe"

    For Unix or linux,

    1. Switch to instance user
    2. db2sampl

    Then it will create the sample database for you.

    Thank you David, this is for windows platform. What is Open an terminate?. Could I please get the step by step to run this command. Do I run this from a DOS command? Thank you very much.

  • LukeNumrych
    LukeNumrych
    60 Posts

    Re: db2 data studio sample data

    ‏2013-06-04T20:09:56Z  
    • duliocr
    • ‏2013-06-04T16:47:05Z

    Thank you David, this is for windows platform. What is Open an terminate?. Could I please get the step by step to run this command. Do I run this from a DOS command? Thank you very much.

    I think David meant "Open a terminal".  Good old command line...  either start -> run cmd.exe and follow step 2 from then on, or skip directly to step 2 and start -> run db2cmd.

  • duliocr
    duliocr
    3 Posts

    Re: db2 data studio sample data

    ‏2013-06-04T22:28:50Z  

    I think David meant "Open a terminal".  Good old command line...  either start -> run cmd.exe and follow step 2 from then on, or skip directly to step 2 and start -> run db2cmd.

    Thank You Luke