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. stored procedures problem in SQL Server 2000

stored procedures problem in SQL Server 2000

Scheduled Pinned Locked Moved Database
databasehelpsql-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.
  • P Offline
    P Offline
    pankajgarg12
    wrote on last edited by
    #1

    I was creating the stored procedure in SQL Server and durind that I stuck into an error The Query is Create Procedure Procedurename @names varchar; @roll int; as Insert into tablename values(@names , @roll) pankaj garg

    C D 2 Replies Last reply
    0
    • P pankajgarg12

      I was creating the stored procedure in SQL Server and durind that I stuck into an error The Query is Create Procedure Procedurename @names varchar; @roll int; as Insert into tablename values(@names , @roll) pankaj garg

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

      You should post your actual code because this may not be representative. The error in your example code is that you need to use commas when separating parameters into the stored procedure


      "On two occasions, I have been asked [by members of Parliament], 'Pray, Mr. Babbage, if you put into the machine wrong figures, will the right answers come out?' I am not able to rightly apprehend the kind of confusion of ideas that could provoke such a question." --Charles Babbage (1791-1871) My: Website | Blog

      1 Reply Last reply
      0
      • P pankajgarg12

        I was creating the stored procedure in SQL Server and durind that I stuck into an error The Query is Create Procedure Procedurename @names varchar; @roll int; as Insert into tablename values(@names , @roll) pankaj garg

        D Offline
        D Offline
        dadax_85
        wrote on last edited by
        #3

        hey Create Procedure Procedurename ( @names varchar, @roll int ) as Insert into tablename values(@names , @roll) dadax_85@hotmail.com

        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