Difference between revisions of "SQL"

From MidrangeWiki
Jump to: navigation, search
m (2x cat)
m (cleanup; Template:AN Template:bu Template:Seealso and add error SQL7008 about COMMIT(*NONE))
Line 1: Line 1:
'''SQL''', or Structured [[Query]] Language, is a (semi) platform independant way of accessing databases.
+
{{AN}}, or {{bu|S|tructured}} {{bu|Q|uery}} {{bu|L|anguage}}, is a platform independent way of accessing databases.  However, the version of SQL which runs on the AS/400, known as SQL400 or SQLDB2, does have syntax differences from standard [[wikipedia:SQL]].
  
See [[SQL Primer]] for Beginners.
+
{{Seealso|SQL Primer|SOUNDEX}}
  
Info on some cool functions:
+
==Tips==
* [[SOUNDEX]] get spelling for a sound
+
;SQL7008 error
 +
:{{code|&FILE}} in {{code|&LIBRARY}} not valid for operation.
 +
:-- Code 3 -- {{code|&FILE}} is not journaled, or you do not have authority to the journal.  Files with an RI constraint action of CASCADE, SET NULL, or SET DEFAULT must be journaled to the same journal.
 +
*Resolution: Use {{code|[[RUNSQLSTM]]}} with parameter {{code|COMMIT(*NONE)}}
  
 +
==Categories==
 
[[Category:Programming]]
 
[[Category:Programming]]
 
[[Category:SQL|*]]
 
[[Category:SQL|*]]
 
[[Category:Query]]
 
[[Category:Query]]

Revision as of 15:18, 30 March 2007

SQL, or Structured Query Language, is a platform independent way of accessing databases. However, the version of SQL which runs on the AS/400, known as SQL400 or SQLDB2, does have syntax differences from standard wikipedia:SQL.

See also: SQL Primer and SOUNDEX

Tips

SQL7008 error
&FILE in &LIBRARY not valid for operation.
-- Code 3 -- &FILE is not journaled, or you do not have authority to the journal. Files with an RI constraint action of CASCADE, SET NULL, or SET DEFAULT must be journaled to the same journal.
  • Resolution: Use RUNSQLSTM with parameter COMMIT(*NONE)

Categories