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. How to create a new database in sql server 2000 by using vb.net?

How to create a new database in sql server 2000 by using vb.net?

Scheduled Pinned Locked Moved Visual Basic
databasecsharpsql-serversysadmin
3 Posts 3 Posters 0 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.
  • J Offline
    J Offline
    jkrao
    wrote on last edited by
    #1

    I want to create a mulitiple databases dynamically by using vb.net? is it possible? want to be best student for ever.

    R S 2 Replies Last reply
    0
    • J jkrao

      I want to create a mulitiple databases dynamically by using vb.net? is it possible? want to be best student for ever.

      R Offline
      R Offline
      Rizwan Bashir
      wrote on last edited by
      #2

      go to SQL Server. Generate the script of Database creation. then use that script in vb.Net application . open the Connection with SQL server using Master Database. and run the database creation setup only. after running the creation command .. open the connection with Newly created DB and execute table,views,etc queries in it. Rizwan Bashir

      1 Reply Last reply
      0
      • J jkrao

        I want to create a mulitiple databases dynamically by using vb.net? is it possible? want to be best student for ever.

        S Offline
        S Offline
        sathish s
        wrote on last edited by
        #3

        you can Use this query to create db in MS-SQL.

        Create database databasename

        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