Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 Development Tools
 ASP.NET
 how to create whole procedure using c# code

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2006-11-08 : 08:03:54
shailesh writes "respected sir,
i have create a stored procedure using my application in c#,asp.net now i want to compile & stored that .sql file in the sql server so how can i do that?

yours faithfully,
shailesh"

SwePeso
Patron Saint of Lost Yaks

30421 Posts

Posted - 2006-11-08 : 08:28:49
What have you got this far?


Peter Larsson
Helsingborg, Sweden
Go to Top of Page

harsh_athalye
Master Smack Fu Yak Hacker

5581 Posts

Posted - 2006-11-08 : 10:05:40
Use OSQL utility to compile and run the .sql file you created like this:

osql -S servername -U username -P password -i file.sql


Harsh Athalye
India.
"Nothing is Impossible"
Go to Top of Page
   

- Advertisement -