Home
Recent Q&A
Java
Cloud
JavaScript
Python
SQL
PHP
HTML
C++
Data Science
DBMS
Devops
Hadoop
Machine Learning
Azure
Blockchain
Devops
Ask a Question
What are the three ways that Dynamic SQL can be issued?
Home
Sql
What are the three ways that Dynamic SQL can be issued?
+1
vote
asked
Jan 14, 2022
in
Sql
by
GeorgeBell
What are the three ways that Dynamic SQL can be issued?
t-sql
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
Jan 14, 2022
by
GeorgeBell
Writing a query with parameters.
Using EXEC.
Using sp_executesql.
Your comment on this answer:
Email me at this address if a comment is added after mine:
Email me if a comment is added after mine
Privacy: Your email address will only be used for sending these notifications.
Related questions
0
votes
Q: what are dynamic queries in T-SQL?
asked
Dec 24, 2023
in
Sql
by
john ganales
t-sql
+1
vote
Q: What are 5 commands that can be used to manipulate text in T-SQL code?
asked
Jan 14, 2022
in
Sql
by
GeorgeBell
t-sql
+2
votes
Q: Is it possible to import data directly from T-SQL commands without using SQL Server Integration Services? If so, what are the commands?
asked
Jan 15, 2022
in
Sql
by
GeorgeBell
t-sql
+2
votes
Q: What are types of XML indexes in SQL Server?
asked
Jan 15, 2022
in
Sql
by
GeorgeBell
t-sql
+2
votes
Q: What are ROLLUP and CUBE in T-SQL?
asked
Jan 14, 2022
in
Sql
by
GeorgeBell
t-sql
+1
vote
Q: How would you prevent T-SQL code from running on a production SQL Server?
asked
Jan 15, 2022
in
Sql
by
GeorgeBell
t-sql
+1
vote
Q: What is the use of GO in Transact SQL?
asked
Jan 15, 2022
in
Sql
by
GeorgeBell
t-sql
+2
votes
Q: What's the difference between TRUNCATE and DELETE in SQL?
asked
Jan 15, 2022
in
Sql
by
GeorgeBell
t-sql
+2
votes
Q: What does the T-SQL command IDENT_CURRENT does?
asked
Jan 14, 2022
in
Sql
by
GeorgeBell
t-sql
+2
votes
Q: Is there a difference between T-SQL linked server and a synonym?
asked
Jan 14, 2022
in
Sql
by
GeorgeBell
t-sql
...