About 3,390,000 results
Open links in new tab
  1. sql server - how to insert static values into table variable using ...

    How to insert static values in table variable using select statement (without using multiple insert statment) in MS SQL Server. e.g. Declare @xyz table( abc varchar(10), pqr varchar(10) ) …

  2. SQL Declare Variable Code Examples - SQL Server Tips

    Dec 30, 2024 · Previously, we assigned a static value to the variable declared in the SQL query. You can set the value dynamically as well. For example, the below SQL code declares three …

  3. Understanding SQL Server database static data and how it fits …

    Jan 13, 2017 · How to link and initially commit SQL Server database static data; How to commit and/or update SQL Server database static data to a source control repository; How to commit …

  4. sql server - How can one select a static value as a column based …

    SELECT itemNumber, attributes AS [SourceName], Value As [SourceValue] FROM ( SELECT itemNumber, type, code, description FROM myTable ) AS tb UNPIVOT ( Value FOR attributes …

  5. How to insert a constant value along with the results of a store ...

    INSERT INTO {table} EXEC stored_proc; If so, you cannot do what you are asking in a single step. You cannot change the fields you are inserting in this construct. You would need to insert …

  6. Using SQL WITH clause to create temporary static tables at

    Apr 12, 2019 · Creating static data with the WITH query is rather uncommon since it is usually used to create a temporary view by querying some data. About the WITH clause. The WITH …

  7. sql server - select multiple static values - Stack Overflow

    Jun 3, 2011 · As of SQL Server 2008 you can use Table Valued Parameters - whereby you can pass in a TABLE of data to then use/join on as you wish inside the sproc instead of having to …

  8. Static Data and Database Builds | Redgate - Redgate Software

    May 31, 2019 · Next, we’ll discuss a couple of alternative techniques, such as using a view of table-value function, in place of any table that requires static data. Some database developers …

  9. How to link and initially commit SQL Server database static data

    Dec 30, 2016 · Alternatively, when the appropriate database is selected, you can use the keyboard shortcut Ctrl+Alt+S. This will open the Static data form, where a list of all database …

  10. SQL query to return a table of static values - Oracle Forums

    Sep 16, 2005 · How would I write a SQL query to return multi-column, multi- row static data (i.e., strings that I enter into the query). For example, I want to return the following data that is not in …

  11. Some results have been removed
Refresh