User Profile

Collapse

Profile Sidebar

Collapse
moforiappiah
moforiappiah
Last Activity: Sep 8 '07, 04:53 PM
Joined: Sep 8 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Executing a Stored Procedure using Command Text

    I urgently need help on how to execute a stored procedure in SQL Express 2005. I have created a stored procedure with as follows:

    Create Procedure upInsertCountry

    @CountryName varchar(50)

    INSERT INTO CountryTable (CountryName) VALUES (@CountryName)

    When run the following code :

    myCom.CommandTy pe.StoredProced ure
    myCom.CommandTe xt = "upInsertCountr y @CountryName...
    See more | Go to post

  • moforiappiah
    started a topic Incorrect Sytax Error
    in .NET

    Incorrect Sytax Error

    I have a script file that contains the name of a stored procedure, its parameters and values. When I run it in VB2005 code against SQL Express 2005 database, it gives me the error Incorrect Syntax near 'StoredProcedur eName'. But when i copy the script and run it in the Server Management Stuido, it works. Any help please!!!!
    See more | Go to post
No activity results to display
Show More
Working...