Create Store Procedure in MS SQL Server 2005 using VB.NET

  • I am new to MS SQL Server 2005. I know that we can create stored procedure in MS SQL Server 2005 two ways: T-SQL and VB.NET or C#. Can one tell me how can i do that?

  • 1. open up visual studio 2005

    2. choose other project types, database project.

    3. setup your db reference

    4. right click on queries and choose add new query.

    5. choose stored procedure script and name your .sql file.

    6. fill in you sql statement in the sproc template or use design sql to generate it visually.

    7. choose project -> run

    I recently adopted this method of writing stored procedures so i could take advantage of the source control features of vss2005

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply