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
What will be query used to get the list of triggers in a database?
What do you mean by a dependent functionality in a build?
What are triggers in ms sql server?
What are different backups available in sql server?
What is mscorsvw.exe - process - microsoft .net framework ngen?
What is difference between aggregate and analytic function?
How to use the inserted and deleted pseudo tables?
What are the differences between having and where clause.
What is the command dbcc checkdb used for?
How to check table values in sql server?
What is the distinction amongst delete and truncate?
When I run the sql server 2000 setup, it just hangs. What do I do?
What are indexes in sql?
What is a matrix in ssrs?
What do you understand by the analysis services in sql server?