I
iHavAQuestion
I have stored procedure
Create Stored Procedure Name
(
@Var1
@Var2
@Var3
)
Inseret into table1
(
Col1
col2
col3
)
Values
(
@Var1
@Var2
@Var3
)
But in col1 i need to insert select max(col) from tablename, which is in the
same database.
how do I do that??
Create Stored Procedure Name
(
@Var1
@Var2
@Var3
)
Inseret into table1
(
Col1
col2
col3
)
Values
(
@Var1
@Var2
@Var3
)
But in col1 i need to insert select max(col) from tablename, which is in the
same database.
how do I do that??