SQL Command Reference
Data Definition Statements
CREATE TABLE table ( table-def-item-list )
DROP TABLE table [ drop-options ]
ALTER TABLE table alter-action
CREATE VIEW view [ ( column-list ) ]
AS query-spec [ WITH CHECK OPTION ]
DROP VIEW view [ drop-options ] CREATE db-object-type db-object-name [ db-object-spec ]
DROP db-object-type [ drop-options ]
ALTER db-object-type alter-action
GRANT { ALL PRIVILEGES | privilege-list }
ON { table | db-object-type db-object-name }
TO { PUBLIC | user-list } [ WITH GRANT OPTION ]
REVOKE { ALL PRIVILEGES | privilege-list }
ON { table | db-object-type db-object-name }
FROM { PUBLIC | user-list } [ WITH GRANT OPTION ]
Basic Data Manipulation StatementsSELECT [ ALL | DISTINCT ] { select-item-list | * }INTO variable-list FROM table-ref-list [ WHERE search-condition ]
SELECT [ ALL | DISTINCT ] { select-item-list | * }INTO host-variable-list FROM table-ref-list [ WHERE search-condition ]
[ GROUP BY column-ref-list ] [ HAVING search-condition ] [ ORDER BY sort-item-list ]
INSERT INTO table [ ( column-list ) ] { VALUES ( insert-item-list ) | query-expr }DELETE FROM table [ WHERE search-condition ] UPDATE table SET set-assignment-list [ WHERE search-condition ]
Transaction Processing Statements
COMMIT [ WORK ]ROLLBACK [ WORK ]
Cursor-Based Statements
DECLARE cursor [ SCROLL ] CURSOR FOR query-expr[ ORDER BY sort-item-list ] [ FOR { READ ONLY | UPDATE [ OF column-list ] } ]OPEN cursorCLOSE cursorFETCH [ [ fetch-dir ] FROM ] cursor INTO variable-listDELETE FROM table WHERE CURRENT OF cursorUPDATE table SET set-assignment-list WHERE CURRENT OF cursor
NEXT | PRIOR | FIRST | LAST | ABSOLUTE row-nr | RELATIVE row-nr
-
Recent
- Crude Oil dashboard
- SAP V1, V2 and V3 Udates
- Reporting Authorization in SAP BI 7.0
- Key Points to remember at the time of Requirement Gathering for BPS Planning
- Transaction for BPS Front End Applicatioin
- Status and Tracking Systems (STS) Application
- SAP BI-IP Implementation steps
- BEx – Query Designer
- SAP SEM BPS Planning Application
- SAP OLAP Cache – Reporting Agent
- SAP BI – Remodeling/Repartioning/ReClustering
- SAP BI – Physical Partitioning
-
Links
- Free Books
- IT Ethics course web site
- Info Infrastructure Protection
- Planet Labs
- The 2006 UCSB International Capture The Flag
- Master School site
- My undergrad school
- Packet Storm
- Security Focus
- BlackHat Hacking
- Good informative link for Windows based
- Well maintain source for LAMP
- O’Reilly Blogs
- Linux Online Resourses
-
Archives
- December 2008 (1)
- October 2008 (1)
- September 2008 (2)
- August 2008 (12)
- July 2008 (1)
- February 2008 (3)
- October 2007 (2)
- September 2007 (1)
- August 2007 (9)
- July 2007 (21)
- June 2007 (22)
-
Categories
-
RSS
Entries RSS
Comments RSS