how to give input dynamically to a insert statement in
sqlserver
Answer Posted / ashutosh rai
Declare @id int,@name varchar(100),@class varchar(100)
set @id=1
set @name='Ashutosh'
set @class='MCA'
insert into student_table(id,name,class)
values(@id,@name,@class)
| Is This Answer Correct ? | 3 Yes | 2 No |
Post New Answer View All Answers
How to make a column nullable?
Explain the advantages of merge replication?
What are basics of policy management?
What is triggers and stored procedures?
How to delete exactly duplicate records from a table?
Does sql server use java?
What are date and time data types in ms sql server?
Relational calculus is what type of language?
What are wait types?
Why use triggers?
How to divide query output into multiple groups with the group by clause in ms sql server?
What is the main purpose of having conversation group?
Suppose we have a table "MyTable" containing 10 rows, what query should be executed to update the odd rows "Salary" as 9000?
What is index, cluster index and nonclustered index?
Should you normalize audio?