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 get a list of columns in a view using the "sp_columns" stored procedure?
What are the steps you must follow to hide sql server instances?
What is a matrix in ssrs?
what are questions asked in TCS for database tester (sqlserver)for 2-3 exp?
What are the different authentication modes in sql server?
What are data files?
Explain system rowset functions?
What is de-normalization and what are some of the examples of it?
What are the benefits and tasks of object explorer? : sql server management studio
Explain the architecture of ms sql reporting service?
How to create a testing table with test data in ms sql server?
Why use stored procedures in sql server?
What is the primary use of the model database?
When to use null data driven subscription?
Can you explain powershell included in sql server 2008?