Microsoft
Software
Hardware
Network
Question : DB2 Equivalent of CINT & REPLACE
I originally wrote this query in Access...
CInt(Replace(LOWES_T572_SH
P_LCT_GRP.
T162_CGY_S
HT_NME,'DC
',''))
The field returns a DC name like 'DC1234" and I use the CInt and Replace to get rid of DC and convert to an integer.
I'm turning this into a pass-through query and need to replace CInt and Replace with the equivalent syntax for DB2 SQL.
Answer : DB2 Equivalent of CINT & REPLACE
try
Int(Replace(LOWES_T572_SHP
_LCT_GRP.T
162_CGY_SH
T_NME,'DC'
,''))
Random Solutions
Java small object size
How do I change default downlaod location in XP
add up the contents of an array
Excel export Replace characters
how to backup SBS 2008 to folder
Microsoft jet database engine could not find installable isam
Comparison for Data transfer rate between SATA and SCSI over network
FM - How to Display Only Selected Entries from a Repeating Field from a Related Record
xcode animating gif UIIMAGES
Non existent domain when doing an nslookup to second domain