Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Basic
  4. creating database in the installation

creating database in the installation

Scheduled Pinned Locked Moved Visual Basic
databasesql-servertoolshelpworkspace
3 Posts 2 Posters 1 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K Offline
    K Offline
    kowplunk
    wrote on last edited by
    #1

    is this possible, to create a database through the installation of a program, if you know that the poerson has mssql on their computer. I have to give a client a small program and am not sure if I have to manually run a setup script for the database, or if that can be done during the installation. Thanks for the help.

    M 1 Reply Last reply
    0
    • K kowplunk

      is this possible, to create a database through the installation of a program, if you know that the poerson has mssql on their computer. I have to give a client a small program and am not sure if I have to manually run a setup script for the database, or if that can be done during the installation. Thanks for the help.

      M Offline
      M Offline
      Murugavel S
      wrote on last edited by
      #2

      Create the DB manually. Use sql files to create tables, sp's, Udd's and functions. Now, write these sql file names in a batch(*.bat) file with isql utility(not isqlw) and with connection parameters as specified by MSDN (refer SQL Server Books Online). Double click this batch program to do your setup program. Cheers;)

      K 1 Reply Last reply
      0
      • M Murugavel S

        Create the DB manually. Use sql files to create tables, sp's, Udd's and functions. Now, write these sql file names in a batch(*.bat) file with isql utility(not isqlw) and with connection parameters as specified by MSDN (refer SQL Server Books Online). Double click this batch program to do your setup program. Cheers;)

        K Offline
        K Offline
        kowplunk
        wrote on last edited by
        #3

        thanks, I never thought it would be done like that. I will see what I can do.

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups