About 35,800 results
Open links in new tab
  1. t sql - How to get sp_executesql result into a variable ... - Stack ...

    May 4, 2009 · I have a piece of dynamic SQL I need to execute, I then need to store the result into a variable. I know I can use sp_executesql but can't find clear examples around about …

  2. Dynamic SQL - EXEC (@SQL) versus EXEC SP_EXECUTESQL (@SQL)

    Apr 16, 2015 · What are the real world pros and cons of executing a dynamic SQL command in a stored procedure in SQL Server using EXEC (@SQL) versus EXEC SP_EXECUTESQL @SQL ?

  3. How to put parameterized sql query into variable and then …

    Apr 25, 2014 · I understand that the correct way to format a sql query in Python is like this: cursor.execute ("INSERT INTO table VALUES (%s, %s, %s)", var1, var2, var3) so that it …

  4. sql - How to execute Table valued function - Stack Overflow

    How to execute Table valued function Asked 14 years, 4 months ago Modified 5 months ago Viewed 199k times

  5. How to execute a SQL script in DBeaver? - Stack Overflow

    Feb 2, 2017 · It is possible to open a SQL console on database objects in the Database Navigation view, but not on SQL scripts. How can I execute a SQL script, totally or partially, …

  6. How to directly execute SQL query in C#? - Stack Overflow

    Jan 18, 2019 · Do you want to execute your existing batch file, or are you looking to connect to the database and run your query directly in C#?

  7. How to execute raw SQL in Flask-SQLAlchemy app

    How do you execute raw SQL in SQLAlchemy? I have a python web app that runs on flask and interfaces to the database through SQLAlchemy. I need a way to run the raw SQL. The query …

  8. How to execute RAW SQL Query with EF Core? - Stack Overflow

    Apr 21, 2019 · Background In EF 6 (.Net Framework) we could use DbContext.Database.FromSQL<T>() to execute ad-hoc SQL that would be automatically …

  9. How do I call a SQL Server stored procedure from PowerShell?

    I have a large CSV file and I want to execute a stored procedure for each line. What is the best way to execute a stored procedure from PowerShell?

  10. Measure the time it takes to execute a t-sql query

    Jul 26, 2012 · I have two t-sql queries using SqlServer 2005. How can I measure how long it takes for each one to run? Using my stopwatch doesn't cut it.