> OK, this is making me rethink my suggestion in the book of using type()
> to do typecasts. Seems I should recommend CAST (val AS type), as wordy
> as it is, or maybe val::type?
CAST(val AS type) is defined in SQL92. istm that the others are
available at the whim of our current implementation, since when push
comes to shove we might have to choose between having one of our
non-standard mechanisms or having some other new features.
An example is SQL3 enumerated types, which use the double-colon
notation, but with value and type reversed from our syntax :(
- Thomas
--
Thomas Lockhart lockhart@alumni.caltech.edu
South Pasadena, California
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера