dynamic-sql
Explain FOR in oracle
I am making a test. I have all tests in rows, so my rows looks like this; ID|TEST ----------------------------------[详细]
2023-01-01 10:12 分类:问答Invoking a function call in a string in an Oracle Procedure
I writing an application using Oracle 10g. I am currently facing this problem. I take in \"filename\" as parameter of type varchar2.[详细]
2023-01-01 00:40 分类:问答T-SQL Dynamic SQL and Temp Tables
It looks like #temptables created using dynamic SQL via the EXECUTE string method have a different scope and can\'t be referenced by \"fixed\" SQLs in the same stored procedure.[详细]
2023-01-01 00:03 分类:问答Creating SQL table using dynamic variable name
I want to create backup SQL tables using variable names. something along the lines of开发者_如何学Python[详细]
2022-12-31 08:03 分类:问答Truncating all tables in a Postgres database
I regularly need to delete all the data from my PostgreSQL database before a rebuild. How would I do this directly in SQL?[详细]
2022-12-30 09:01 分类:问答Select a column returned by a stored procedure
I have a stored procedure which is returning me about 50 columns. I want to write a query, where I will be able to select a particular column from the list of column returned by the SP.[详细]
2022-12-30 07:04 分类:问答Dynamic query runs directly but not through variable, what could be the reason?
Here is my scenario, I\'m creating a dynamic query using a select statement which uses functions to generate the query. I am storing it into a variable and running it using exec. i.e.[详细]
2022-12-30 02:14 分类:问答Is it possible to run an alter on all my database objects to test them
I\'m in the course of doing some schema migrations, and would like to know if it\'s possible or advis开发者_StackOverflow社区able to run every stored procedure, view and function in my database as an[详细]
2022-12-29 17:30 分类:问答Dynamically changing databases in SQL Server 2000
At work we have a number of databases that we need to do the same operations on.I would like to write 1 SP that would loop over operations and set开发者_StackOverflow中文版 the database at the beginni[详细]
2022-12-29 06:42 分类:问答Why can't we use strong ref cursor with dynamic SQL Statement?
I am trying to use a strong ref cur with dynamic sql statment but it is giving out an error,but when i use weak cursor it works,Please explain what is the reason and please[详细]
2022-12-29 04:38 分类:问答