0

ANSI SQL:2008: Are TRUNCATE or TRUNC a SQL Function? Where can I find the ANSI SQL:2008?

Deduplicator
  • 44,692
  • 7
  • 66
  • 118
  • 1
    Welcome to StackOverflow ! to get good answer you will need to improve your question. what did you do to find the answer ? please read how to ask question in Stackoverflow http://stackoverflow.com/questions/how-to-ask – Mzf Jun 10 '13 at 17:53

2 Answers2

1

TRUNCATE "was officially introduced in the SQL:2008 standard."

SQL:2008 "is not freely available. The whole standard may be purchased from the ISO as ISO/IEC 9075(1-4,9-11,13,14):2008."

O'Reilly SQL in a Nutshell (ISBN-10: 0596518846, ISBN-13: 978-0596518844) lists TRUNC() as a "Platform-specific extension."

maxwellb
  • 13,366
  • 2
  • 25
  • 35
0

According to the postgresql docs, yes, this is a standard command. The family of standards documents are linked to from wikipedia, but IMHO these are not very usable in their raw form. YMMV.

PaulProgrammer
  • 16,175
  • 4
  • 39
  • 56