Search 5,000,000+ questions and answers.

Frequently Asked Questions

How do you do the EXPLAIN of a dynamic SQL statement?

CLIENT INTERVIEW QUESTION BANK (MAINFRAME)
Include EXPLAIN command in the embedded dynamic SQL statements 52.How do you simulate the EXPLAIN of an embedded SQL statement in SPUFI/QMF? Give an example with a host variable in WHERE clause.)
Related Questions

Can I create Dynamic XML documents from SQL Data?

Virtuoso FAQs
Yes, Virtuoso implements SQL extensions that enable the results of standard SQL queries to be transformed into XML documents, these documents are openly accessible to user agents such as Web Browsers via HTTP and/or WebDAV. It is important to note that these SQL-XML documents are URL accessible, and sensitive to the underlying changes that occur in the underlying database tables from which they have been derived.
Related Questions

How to convert the datetime into a string for use in the SQL ' statement?

Megasolutions.net :: Asp.Net Frequently Asked Questions - FA...
Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Private Sub ddlCulture_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ddlCulture.SelectedIndexChanged
Related Questions

How To Run a SQL Statement?

MySQL Tutorials and Tips
A collection of 18 tips on managing tables and data rows with PHP scripts. Clear explanations and tutorial exercises are provided on creating and dropping tables; inserting, updating, and deleting rows, selecting and looping through data rows by pages; setting auto-increment IDs.
Related Questions

Why can't I alias a SQL statement?

Sqsh Home Page
Many users attempt to alias SQL statements or clauses like this: 1> \alias nrows="SELECT COUNT(*) FROM *!" 1> nrows syscolumns; sqsh: Invalid command however it is stated in the manual page that \alias only applies to aliasing other sqsh commands. The above problem can be expressed using environment variables as: 1> \set nrows="SELECT COUNT(*) FROM" 1> $nrows syscolumns; This problem is covered extensively in README.SGI supplied with the sqsh distribution.
Related Questions

Can Dynamic XML documents be built using SQL data from different databases?

Virtuoso FAQs
Yes, the SQL to XML functionality sits above Virtuoso's virtual database functionality, which enables a unified logical and physical representation of database tables and views that reside in disparate database engines from different database vendors. The only requirement is that these database have to be ODBC or JDBC accessible - implying the existence of data access drivers for these databases.
Related Questions

When Do I Use or Omit the Semicolon with Dynamic SQL?

G Frequently Asked Questions About PL/SQL
When building up a single SQL statement in a string, do not include any semicolon at the end (inside the quotation marks). When building up a PL/SQL anonymous block, include the semicolon at the end of each PL/SQL statement and at the end of the anonymous block. You will have a semicolon right before the end of the string literal, and another right after the closing single quotation mark.
Related Questions

Can you explain to me what the information on my statement means?

Edgecard.com - FAQs
Yes. Please refer to the Reading your statement section. If you have any specific queries on your account, please give the Edge Customer Service Team a call on 0870 126 2621
Related Questions

There are three sections to the Statement; can you explain them?

Religious Studies Department - University of California, San...
The first section is the standard academic statement of purpose. This is where you outline your research goals and academic interests, as well as your career goals. It is important that this section be very focused and to the point. You should clearly state your intended area of emphasis, and how your goals fit in with our programmatic strengths. You should also emphasize how and why this department will meet your research needs, and with whom you anticipate working.
Related Questions

Can one use dynamic SQL statements from PL/SQL?

PL/SQL FAQ - Oracle FAQ
Starting from Oracle8i one can use the "EXECUTE IMMEDIATE" statement to execute dynamic SQL and PL/SQL statements (statements created at run-time). Look at these examples. Note that the statements within quotes are NOT semicolon terminated: EXECUTE IMMEDIATE 'CREATE TABLE x (a NUMBER)'; -- Using bind variables... sql_stmt := 'INSERT INTO dept VALUES (:1, :2, :3)'; EXECUTE IMMEDIATE sql_stmt USING dept_id, dept_name, location; -- Returning a cursor..
Related Questions

How can we execute dynamic SQL From PL/SQL block?

Oracle FAQs - Page 1
Hi there - I am new to Oracle (used to Ingres).I am having trouble creating a database.I keep getting the following oracle errors.ORA-01501ORA-01519ORA-00604ORA-30012Can you tell me what I am doing incorrectly?Many thankseibbed
Related Questions

How do I use placeholders in an SQL statement?

SQLite3/Ruby FAQ
Where n is an integer, and word is an alpha-numeric identifier (or number). When the placeholder is associated with a number, that number identifies the index of the bind variable to replace it with. When it is an identifier, it identifies the name of the correponding bind variable. (In the instance of the first format—a single question mark—the placeholder is assigned a number one greater than the last index used, or 1 if it is the first.
Related Questions

I ran an SQL statement and I got an error. What do I do now?

FAQ
When you got the error you got a SQL state code. Type ? and the code to get more information on the error.
Related Questions

What are Dynamic Disks?

ActiveWin.com: Microsoft Windows 2000 - Frequently Asked Que...
Disk Groups help you organize Dynamic Disks and help to prevent data loss. Windows 2000 allows only one Disk Group per computer (this may change). Disk Groups can organize storage when you use Veritas LDM-Pro. A Disk Group uses a name consisting of the computer name plus a suffix of Dg0. If you use LDM-Pro, the suffix can be incremental, such as Dg1 or Dg2. To view the name of your disk group, see the following registry entry:
Related Questions

How can I tell if my SQL statement is using an index?

Nebraska Office of the CIO: Enterprise Computing Services, D...
Do an explain on the statement or program which will give details as to the access path the optimizer has chosen.
Related Questions

How can I find out how many rows were affected by an SQL statement after I have executed it ?

The Oracle (tm) Users' Co-operative FAQ - Index
Is it possible to write a trigger referencing more than one table - I want a trigger to audit a master/detail pair. Is it possible to easily convert existing SQL scripts into a format that cannot be read or altered? This is to improve security on an existing site.
Related Questions

How do I send SQL statement on the command line to the database?

MySQL AB :: MaxDB™ FAQ
If you do not want to use SQL Studio, you can also open an SQL session with the sqlcli tool: sqlcli -u <database_user>,<database_user_password> -d <database_name>, e.g. sqlcli -u MONA,RED -d DEMODB. A complete list of options can be obtained by executing sqlcli -h. # sqlcli -u MONA,RED -d DEMODB Welcome to the MaxDB interactive terminal.
Related Questions

I get an error when I end any SQL statement with a semi colon (;). Why?

Oterro - A High-End Performance Solution For Database Applic...
The semi colon is only used to end a multi-line SQL command. The Oterro engine does not support multi-line commands. All you should need to do if you are accessing a database through an ODBC connection is to replace the database name in the connect string. When using DAO or RDO controls, you would replace the database name with an ODBC connection to the Oterro database.
Related Questions

How can I refer to columns names with spaces in a SQL statement?

ColdFusion FAQ
Use back-ticks to refer to the column names and then alias them so you can refer to them as something else: SELECT 'First Name' AS FirstName, 'Last-Name' AS LastName, PhoneExtension FROM Employees ORDER BY 'Last Name', 'First Name'
Related Questions

Which clause can increase response time if not used properly in an SQL statement?

Frequently Asked Questions zu Oracle
Statements including group functions impact performance. Use a WHERE clause to exclude unwanted rows. HAVING should only be used with an aggregate condition. Inappropriate use of the HAVING clause increases response time. READ_MODULE reads the last module and action names set by SET_ACTION or SET_MODULE. READ_CLIENT_INFO reads the last client information set for the session.
Related Questions

My SQL statement SELECT AVG(SALARY) FROM EMP yields inaccurate results. Why?

CLIENT INTERVIEW QUESTION BANK (MAINFRAME)
Because SALARY is not declared to have NULLs and the employees for whom the salary is not known are also counted.
Related Questions

I think neither of those two sentences is a true statement. Would you like me to explain why?

Kitzmiller v. Dover: Day 1, AM: Kenneth R. Miller
Okay. The first point is the purposeful arrangement of parts. Science doesn't really deal with questions of purpose, value, and meaning. So to say that science has discovered a purposeful arrangement of parts puts science on the other side of this divide of empirical knowledge where it doesn't belong, so that certainly is not true.
Related Questions

Could you explain further how the data statement index options needed for SASNONCRSP work?

Eventus ? Software FAQ - Q&A for Eventus Event Studies a...
Solution: Indexing allows a SAS data set to be used (by Eventus in this case) as if the data set were sorted by the index variable or variables. In Eventus 8, you no longer need to index the mini-database component data sets; Eventus builds the indexes for you automatically. Further event studies can be run using the same estimation period for each firm as in the first event study using a request file setup process similar to that shown for the second event study above.
Related Questions

Question : How to convert the datetime into a string for use in the SQL ' statement?

ASP.NET 3.5 interview question: 10/1/07 - 11/1/07
Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Private Sub ddlCulture_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ddlCulture.SelectedIndexChanged Answer :You would get this error if the application mappings for ASP.NET file name extensions (such as .aspx) are not configured correctly in Microsoft Internet Information Services (IIS). To resolve this go to C:\Windows Directory\Microsoft.
Related Questions

What is SQL?

Web Hosting solutions. Worldclass reseller plans.Wild Hoster
SQL stands for Structured Query Language, which is a methodology for accessing a database through language calls. In web hosting, SQL servers are used for their speed, reliability, and flexibility.
Related Questions

Coastline - ASP FAQ
We support MySQL on our newest servers. If you would like to use MySQL and are unsure whether it is available to you or not, please contact Customer Support. If you do not have MySQL available to you, we would be happy to switch your server so you can use it.
Related Questions

MySQL FAQs - Database Basics and Terminologies
SQL, SEQUEL (Structured English Query Language), is a language for RDBMS (Relational Database Management Systems). SQL was developed by IBM Corporation.
Related Questions

Support > FAQ ProGAGE v4
quot;SQL" stands for Structured Query Language. It is a defined standard format for creating query statements for getting information from your database. It follows certain formats for linking multiple table of your database and extracting specific information from these tables linked via common fields. Your tables should be properly structured to make full and efficient use of this facility.
Related Questions

Inventive Designers : Scriptura FAQ
Structured Query Language (SQL) is used to communicate with a database. According to ANSI (American National Standards Institute), it is the standard language for relational database management systems. SQL statements are used to perform tasks such as update data on a database, or retrieve data from a database. More information can be found at http://www.sqlcourse.com/
Related Questions

Got A Question? Ask Our Community!


More Questions >>

© Copyright 2007-2008 QueryCAT
About • Webmasters • Contact