QueryCAT Logo
Search 5,000,000+ questions and answers.

Frequently Asked Questions

When I roll back an update routine, some sql statements are not rolled back. Why?

Database schema updater
There are a couple of sql statements that cannot be executed inside a transaction. User and db space creation are examples of such statements. These are special statements that seldom you will need to synchronize. DbUpdater executes first these statements and then starts a transaction for all the other sql statements. As a consequence, rolling back the transaction will leave these entities changed.

How can I time my SQL statements in TCL?

FAQ
The TCL time or clock commands are useful for timing statements. More information is available in the documentation.

Can one call DDL statements from PL/SQL?

PL/SQL FAQ - Oracle FAQ
One can call DDL statements like CREATE, DROP, TRUNCATE, etc. from PL/SQL by using the "EXECUTE IMMEDIATE" statement (native SQL). Examples: begin EXECUTE IMMEDIATE 'CREATE TABLE X(A DATE)'; end; begin execute Immediate 'TRUNCATE TABLE emp'; end; DECLARE var VARCHAR2(100); BEGIN var := 'CREATE TABLE temp1(col1 NUMBER(2))'; EXECUTE IMMEDIATE var; END; Users running Oracle versions below Oracle 8i can look at the DBMS_SQL package (see FAQ about Dynamic SQL).

Can I see what T-SQL statements are using Hints?

Reports
Yes, run the "Queries with Table Hints", "Queries with Query Hints", and "Queries with Join Hints" to find this information. Please, keep in mind that the filtering option: "Show Top (in %): N" will filter the top queries with most executions and then it will check them for Hints usage; this lowers quite a bit the impact on the server when running this report. reports.

How many SQL statements can I execute in one report processing?

PTReportGen FAQs - Report Generator for Microsoft PowerPoint
It is dependent on the license of PTReportGen you have purchased. For detailed information, see Licenses.

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..

Can I find if hints are being used in the t-sql statements run on the SQL Server?

Other FAQs
Yes, run the "Query Optimizer" report. It will provide you with different statistics including the use of hints (i.e. table, join, plan, etc.)

What does the SQL Agent update when it runs?

A fatal error (0x8000ffff) occurred in an IExchangeEventSink while processing message (Note: only applies to pre-TORouter installations of TrackerOffice) Error: Unable to display the folder. Microsoft Outlook could not access the specified folder location. quot;A project with {some name) with this code already exists" but the name in the error is not the same name as the project I am creating and/or the name in the error is the same as one of my project templates.

Can I integrate the existing SQL statements into the Scribe procedures?

Frequently Asked Questions
Direct SQL mode of the Database Retrieval component allows freely-formatted SQL SELECT statements of any degree of complexity to be added to the procedures. The SQLCommand system function can be used to run SQL statements that add, update and delete rows in the database tables.

top] How to see SQL statements issued by DbUnit using P6Spy?

DbUnit - Frequently Asked Questions
P6Spy is a transparent JDBC proxy-driver specialized to log the statements performed against the actual driver you normally would use. Using p6spy would allow to log the SQL statements issued by DbUnit. Move spy.properties into a directory listed in your classpath. Unlike JAR files, you do not directly reference your property file in the classpath (e.g.: if you have the file c:\r\proj\conf\spy.properties make sure you put c:\r\proj\conf in the classpath). Modify the realdriver line in the spy.

How can I trace and/or profile SQL statements executed by OJB?

Frequently Asked Questions
OJB ships with out of the box support for P6Spy. P6Spy is a JDBC proxy which delegates all JDBC calls to the real JDBC driver and traces all calls to a log file. P6Spy is contained in the p6spy.jar, which you'll find in the lib folder of your OJB distribution. Add this to the classpath of your app (if you're using the ojb-blank project, then simply copy the jar into the lib folder of the project and if you're using Eclipse then also add it to the project build path).

I'm having problems with apostrophies and SQL statements. What's going on?

ColdFusion FAQ
ColdFusion will automatically escape an apostrophe if it's in a variable value that you're inserting into a database. It escapes it by doubling it up from ' to ''. For exmple, if Var1 and Var2 contain apostrophies, you don't need to worry about escaping the following code.

When and why are quotes needed in <CFQUERY> SQL statements?

CFFaq.com
All content in between <CFQUERY> and </CFQUERY> is sent to the database via the database driver as is. Unlike CFML, SQL is not typeless, and so SQL statements must be complete and valid as per SQL syntax specifications. All strings (or variables being used as string values) must be enclosed within singe quotes. Similarly, all numeric values must not be within quotes, and all dates and times must be formatted as valid date and time values.

Is there any routine bloodwork that should be done?

Firehall 4 Animal Hospital : FAQ
We recommend running routine lab work on your pet if they are put on an anti-inflammatory to make sure that enzymatic activity in vital organs stay at appropriate levels. This should be done on a bi-annual basis. Every year, millions of unwanted dogs and cats, including puppies and kittens, are needlessly destroyed. The good news is that every pet owner can make a difference.

How do we secure our screen when rolled up?

Frequently Asked Questions And Their Answers
Most of our customers do not roll their screens up unless they are going to move their car in and out which seldom happens because they are using their garage for a screen room and not to park the car. We do have straps for securing your screen or you can just use a piece of rope or an old pants belt.

What is roll roofing?

Asphalt Roofing Manufacturers Association - Frequently Asked...
In addition to asphalt shingles, asphalt roll products are used for residential roofing applications (primarily for underlayments and flashings). There are four basic types of roll roofing materials, each tailored for use in certain job requirements: Smooth Surfaced Roll Roofing. Also termed coated felt, this smooth-surfaced roll roofing is covered with ground talc or mica.

What are the roll dimensions?

Frequently Asked Questions
Typically the product comes in 2 Square (200 s.f. of roof coverage) or 4 square (400 s.f. of coverage) rolls and a variety of weights. See specifications for more information.

How should I roll?

Look Great Every Day...LIPODISSOLVE & MESOTHERAPY
With your free hand hold the skin under slight tension. Place the Dermaroller on the skin and roll with a constant movement to the end of the skin area. Roll horizontally, vertically and diagonal. Lift the Dermaroller slightly or change the angle of rolling and move back to the beginning. This ensures (more theoretically) that you will not hit the same prick channel. Start counting the roller-movements until the procedure becomes a routine.

The Electoral Roll: What is it, and should I be on it?

St Mary's Church Battersea, FAQ
The Electoral Roll is a list of all the full members of St Mary's. To join it is a mark of full belonging, an assertion of your right to membership and an agreement to take responsibility for the life of the parish community. It is an important thing. It is not the same thing as the local government electoral roll, with which it is sometimes confused.

The Auto-Update and/or License Wizard routine(s) don't work any more. What's wrong?

Cox SoftWare - SARApAid
A change in the Cox SoftWare web server hardware resulted in the invalidation of existing FTP routine code within the software with versions 3.10 - 3.20 inclusive. Version 3.21 has corrected the problem caused by the server change, but you will have to manually upgrade to this version before your can resume Auto-Updating and License Wizard activities.
More Questions >>

© Copyright 2007-2012 QueryCAT
About • Webmasters • Contact