sql - Using cast on a view in a Derby database that has multiple columns -
this question quick one. know select cast(somecolumn othertype) myview
, myview view in derby database, combinable other statements in select
statement? in other words, select columna, cast(columnb othertype), someothercolumns myview
, or have cast entire query? //i have been looking online might help, no examples of this. have tried on w3schools.com, complaining database read-only (somehow, cast()
changing database!). otherwise, have found no working examples has done asking here.
i have found answer question: yes, can have said above in derby. here example: http://www.ibm.com/developerworks/library/os-ad-trifecta6/ //although still couldn't use methods on database on w3schools.com!
you not have cast entire freaking table; cast 1 column @ time! heck, in derby, double(23)
, , return 23.000000
!
Comments
Post a Comment