SQL: My Oracle quick reference

SET PAGESIZE 400

SET LINESIZE 120

SPOOL C:\TEMP\FILENAME.TXT

SPOOL OFF

ED

SAVE -> ALT-F4

/

SELECT * FROM TAB

SELECT MAX(LENGTH FIELDNAME) FROM TABLE

COLUMN FIELDNAME FORMAT A25 (FOR TEXT)

Leave a Reply

Your email address will not be published. Required fields are marked *

Time limit is exhausted. Please reload CAPTCHA.

This site uses Akismet to reduce spam. Learn how your comment data is processed.