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

Popular posts from this blog

user interface - Python attempting to create a simple gui, getting "AttributeError: 'MainMenu' object has no attribute 'intro_screen'" -

jquery - Common JavaScript snippet to share files on Google Drive, Dropbox, Box.net or SkyDrive -

Android Gson.fromJson error -