PostgreSQL CAST(x AS typename) or x::typename -
should use cast(x typename)
or x::typename
in postgresql?
i not able find documentation x::typename
version of cast except 1 sentence in documentation ("by default, cast can invoked explicit cast request, explicit cast(x typename) or x::typename construct."
is difference cast(x typename)
in sql-standard while x::typename
not?
i prefer x::typename
time shorter.
x::typename
postgresql specific. if prefer , doesn't have work on non postgresql databases can use it.
the manual casting here. see there third style not recommended.
Comments
Post a Comment