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.
| Author |
Topic |
|
AskSQLTeam
Ask SQLTeam Question
0 Posts |
Posted - 2002-03-25 : 09:21:51
|
| NAWAZ BUTT writes "I am inserting unicode data in SQL server using insert statement as follows, INSERT INTO tablename (col1,col2) values (N'value1,value2) WHERE col1 is of NVARCHAR datatype. i want a to run the above statement using stored procedure This procedure will take 2 parameters please help me in solving this problem." |
|
|
dsdeming
479 Posts |
Posted - 2002-03-25 : 13:00:10
|
| Is this what you're looking for?CREATE PROCEDURE YourName@nvcValue1 nvarchar( 50 ), @vcValue2 varchar( 50 )ASINSERT INTO YourTable( Value1, Value2 ) SELECT @nvcValue1, @vcValue2GO |
 |
|
|
|
|
|