News

What’s your average success rate of getting a SQL statement right on the first try? In best case, you botched a simple statement without side effects and just have to try again with correct ...
Is there any way to make a single SQL Statement in a Stored Proc continue after an error is raised by the system? For example, let's say I'm updating 100 rows in a ...
SELECT options refine results As we saw in the last article, the SQL SELECT statement has the widest variety of query options, which are used to control the way data is returned. These options ...
Read this SQL tutorial to learn when to use SELECT, JOIN, subselects and UNION to access multiple tables with a single statement. It’s sometimes difficult to know which SQL syntax to use when ...
The DESCRIBE VIEW statement writes a view definition to the SAS log. If you use a PROC SQL view in the DESCRIBE VIEW statement that is based on or derived from another view, you may want to use the ...
Any return code or message that is generated by the DBMS is available in the macro variables SQLXRC and SQLXMSG after the statement executes. See SQL Procedure Pass-Through Facility Return Codes for ...