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. updation of o/p of sql query execution

updation of o/p of sql query execution

Scheduled Pinned Locked Moved Visual Basic
databasequestionannouncement
4 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.
  • N Offline
    N Offline
    nilam11
    wrote on last edited by
    #1

    hi can i directly update data table from execution of sql query ? or at the time of query execution can i store o/p directly into table?

    Thanks bye

    C 1 Reply Last reply
    0
    • N nilam11

      hi can i directly update data table from execution of sql query ? or at the time of query execution can i store o/p directly into table?

      Thanks bye

      C Offline
      C Offline
      Colin Angus Mackay
      wrote on last edited by
      #2

      nilam11 wrote:

      can i directly update data table from execution of sql query ?

      By "data table" do you mean the table in the database, or the "DataTable" object in .NET?

      nilam11 wrote:

      or at the time of query execution can i store o/p directly into table?

      What is "o/p"? You can run any SQL through the SqlCommand object. If you want results back use ExecuteReader(). If you don't expect results back use ExecuteNonQuery()


      Upcoming FREE developer events: * Glasgow: db4o: An Embeddable Database Engine for Object-Oriented Environments, Mock Objects, SQL Server CLR Integration, Reporting Services ... My website

      N 1 Reply Last reply
      0
      • C Colin Angus Mackay

        nilam11 wrote:

        can i directly update data table from execution of sql query ?

        By "data table" do you mean the table in the database, or the "DataTable" object in .NET?

        nilam11 wrote:

        or at the time of query execution can i store o/p directly into table?

        What is "o/p"? You can run any SQL through the SqlCommand object. If you want results back use ExecuteReader(). If you don't expect results back use ExecuteNonQuery()


        Upcoming FREE developer events: * Glasgow: db4o: An Embeddable Database Engine for Object-Oriented Environments, Mock Objects, SQL Server CLR Integration, Reporting Services ... My website

        N Offline
        N Offline
        nilam11
        wrote on last edited by
        #3

        hi thanks. i want to store data table of database from query's o/p whatever will come.

        Thanks bye

        C 1 Reply Last reply
        0
        • N nilam11

          hi thanks. i want to store data table of database from query's o/p whatever will come.

          Thanks bye

          C Offline
          C Offline
          Colin Angus Mackay
          wrote on last edited by
          #4

          nilam11 wrote:

          query's o/p

          I asked this before: What is "o/p"? To me it means Original Poster. That is obviously not correct in this context.


          Upcoming FREE developer events: * Glasgow: db4o: An Embeddable Database Engine for Object-Oriented Environments, Mock Objects, SQL Server CLR Integration, Reporting Services ... My website

          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