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
Access Like "*" in IIf Statement of Criteria Returns No Records
placing images/icons in a grid
DIV issues: 'overflow' and 'padding' properties
Win Form User Interface Designing Help
Receive "Don't have exclusive access" message when trying to modify objects in the backend
MS Access Query: Make one column out of several columns
Difference between CD-R and CD+R
Insert Blog into Website
font in different way in php
Quarter Reports Php and Mysql