Skip site navigation (1) Skip section navigation (2)

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search for
  Advanced Search

TRUNC vs. TRUNCATE


  • From: Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au>
  • To: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
  • Subject: TRUNC vs. TRUNCATE
  • Date: Thu, 24 Nov 2005 20:11:13 +0800
  • Message-id: <4385ADE1(dot)1070907(at)familyhealth(dot)com(dot)au>

Hi,

I notice we added CEILING() as an alias to CEIL() for compatibility. We also have POWER() for POW().

I notice that MySQL uses TRUNCATE() and we only have TRUNC(). Is TRUNCATE actually spec compliant? Should we add TRUNCATE anyway for consistency and compatibility?

Chris



Home | Main Index | Thread Index

Privacy Policy | PostgreSQL Archives hosted by Command Prompt, Inc. | Designed by tinysofa
Copyright © 1996 – 2008 PostgreSQL Global Development Group