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. Web Development
  3. ASP.NET
  4. how to execute sql script file.

how to execute sql script file.

Scheduled Pinned Locked Moved ASP.NET
databasetoolstutorialquestion
6 Posts 3 Posters 3 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.
  • A Offline
    A Offline
    Amit Agarrwal
    wrote on last edited by
    #1

    hello, i have Sql Script file. what i want when i click on button then query under sql script file execute automatically and Table must be created on specified location. is it possible? thanx Any Suggestion.

    N I 2 Replies Last reply
    0
    • A Amit Agarrwal

      hello, i have Sql Script file. what i want when i click on button then query under sql script file execute automatically and Table must be created on specified location. is it possible? thanx Any Suggestion.

      N Offline
      N Offline
      Not Active
      wrote on last edited by
      #2

      Yes


      only two letters away from being an asset

      A 1 Reply Last reply
      0
      • N Not Active

        Yes


        only two letters away from being an asset

        A Offline
        A Offline
        Amit Agarrwal
        wrote on last edited by
        #3

        could u tell me how can i do it. plz thanx

        N 1 Reply Last reply
        0
        • A Amit Agarrwal

          hello, i have Sql Script file. what i want when i click on button then query under sql script file execute automatically and Table must be created on specified location. is it possible? thanx Any Suggestion.

          I Offline
          I Offline
          Ista
          wrote on last edited by
          #4

          just send it through as text or use SQLDMO

          -------------------------------------------------------- 1 line of code equals many bugs. So don't write any!! My mad coder blog

          A 1 Reply Last reply
          0
          • I Ista

            just send it through as text or use SQLDMO

            -------------------------------------------------------- 1 line of code equals many bugs. So don't write any!! My mad coder blog

            A Offline
            A Offline
            Amit Agarrwal
            wrote on last edited by
            #5

            ok i will send it as a text.but how it will run. or execute. and where i will defined the location for creating the tables. thanx

            1 Reply Last reply
            0
            • A Amit Agarrwal

              could u tell me how can i do it. plz thanx

              N Offline
              N Offline
              Not Active
              wrote on last edited by
              #6

              Oh, I thought you just wanted to know if it was possible. :omg: That's a different question then.;P


              only two letters away from being an asset

              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