attach or register db mdf via vb classic

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sal21
    New Member
    • Jun 2006
    • 27

    attach or register db mdf via vb classic

    admit i have a sql in c:\scrpit\myscr ipt\database.md f how to Attache (or register) in one instance of my sql server?
    All in vb classic, tks.
  • axtens
    New Member
    • Dec 2006
    • 32

    #2
    Originally posted by sal21
    admit i have a sql in c:\scrpit\myscr ipt\database.md f how to Attache (or register) in one instance of my sql server?
    All in vb classic, tks.
    Sorry, could you restate the question? What's in database.mdf? What do you want to do with the SQL code? "Attache" or "attach"? Ap ki madri zuban kaunsi he?

    Bruce.

    Comment

    • sal21
      New Member
      • Jun 2006
      • 27

      #3
      Originally posted by axtens
      Sorry, could you restate the question? What's in database.mdf? What do you want to do with the SQL code? "Attache" or "attach"? Ap ki madri zuban kaunsi he?

      Bruce.
      ... attach
      ...mydatabase.m df

      Comment

      • axtens
        New Member
        • Dec 2006
        • 32

        #4
        Originally posted by sal21
        ... attach
        ...mydatabase.m df
        Okay, which SQL server are you using? MySQL, MS SQL Server, ... ?

        Comment

        • sal21
          New Member
          • Jun 2006
          • 27

          #5
          Originally posted by axtens
          Okay, which SQL server are you using? MySQL, MS SQL Server, ... ?
          sorry for delay...
          SQL Express (MSDE)

          Comment

          • axtens
            New Member
            • Dec 2006
            • 32

            #6
            Originally posted by sal21
            SQL Express (MSDE)
            isql and osql are command line apps which will accept sql statements interactively or from a script. They'd be my first port of call.

            Kind regards,
            Bruce.

            Comment

            Working...