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. Database & SysAdmin
  3. Database
  4. Calling SQL updates from Command Prompt

Calling SQL updates from Command Prompt

Scheduled Pinned Locked Moved Database
databasehelpquestionannouncementcareer
3 Posts 2 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.
  • P Offline
    P Offline
    Pualee
    wrote on last edited by
    #1

    Hey, I am wondering if it is possible, and what would be the best way? I'm working on a batch process to take care of building our applications, push/pull from source control and update the databases. As far as updating the DB, there will be a few scripts that need to run and I would like to call them from the same batch process that updates our executables (I really don't want to run a batch file AND set up a SQL job). The goal is to have a single (1) job which will take care of everything to reduce the chance of error. Can someone point me in the right direction? Thanks, Pualee

    M 1 Reply Last reply
    0
    • P Pualee

      Hey, I am wondering if it is possible, and what would be the best way? I'm working on a batch process to take care of building our applications, push/pull from source control and update the databases. As far as updating the DB, there will be a few scripts that need to run and I would like to call them from the same batch process that updates our executables (I really don't want to run a batch file AND set up a SQL job). The goal is to have a single (1) job which will take care of everything to reduce the chance of error. Can someone point me in the right direction? Thanks, Pualee

      M Offline
      M Offline
      mr_lasseter
      wrote on last edited by
      #2

      For oracle you can use sqlplus calls, for Sql Server you can use iSql.

      Mike Lasseter

      P 1 Reply Last reply
      0
      • M mr_lasseter

        For oracle you can use sqlplus calls, for Sql Server you can use iSql.

        Mike Lasseter

        P Offline
        P Offline
        Pualee
        wrote on last edited by
        #3

        Thanks for the jumping off point, I'm looking into this, more specifically oSQL now :)

        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