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
Unique DC demotion situation
Can't Delete AS400 LIB Because of File/Member Error
Create a "duplicate record" with one different value in a column
How do I find out IP and Protocol of MS SQL server
Choose Toolbox Items - only shows Maintenance Task
VPN tunnel between Cisco ASA 5520 and Nokia IP1260 - HA
Opening Attachments in Outlook
deleting some of my xml
add user to group
Get item out of array