About 50 results
Open links in new tab
  1. Generate SQL Create Scripts for existing tables with query

    I'm trying to get the CREATE scripts for existing tables within SQL Server 2008. I assume I can do this by querying the sys.tables somehow, however this isn't returning me the CREATE script data.

  2. how to get DDL (create query of a table) of a table from SQL Developer

    Jan 20, 2022 · am using Spool in SQL Developer to get the Output into a CSV file. where as i have heard of use of DDL command can b done to get the create query of a table. my query is as below …

  3. How do I create a comma-separated list using a SQL query?

    How do I create a comma-separated list using a SQL query? Asked 16 years, 2 months ago Modified 4 years, 7 months ago Viewed 212k times

  4. sql server - How to generate auto increment field in select query ...

    How to generate auto increment field in select query Asked 12 years, 9 months ago Modified 8 years ago Viewed 388k times

  5. sql - How to view query that was used to create a table ... - Stack ...

    Apr 4, 2015 · I create about 15 tables and create relationships and constraints among them using Wizard in SQL Server 2012 express Now i want to see the query that is used to create those tables …

  6. How can I schedule a job to run a SQL query daily?

    Mar 29, 2011 · I need to know how to make a SQL query run daily using a SQL Server Agent job, with minimum required configuration settings.

  7. How can I create a blank/hardcoded column in a sql query?

    May 28, 2017 · I want have a query with a column that is a hardcoded value not from a table, can this be done? I need it basically as a placeholder that I am going to come back to later and fill in. example: S...

  8. sql - How to create a new column in a select query - Stack Overflow

    Mar 3, 2015 · In MS Access, I want to insert a new column into the returned result of a select query. The new column has the same value for every row. For example, my select returns columns A, B and I …

  9. python - How to retrieve the generated SQL query from …

    Feb 7, 2024 · I have used Langchain - create_sql_agent to generate SQL queries with a database and get the output result of the generated SQL query. Here is how my code looks like, it is working pretty …

  10. How to create a table from select query result in SQL Server 2008

    May 22, 2013 · Closed 12 years ago. I want to create a table from select query result in SQL Server, I tried