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
Tools for Importing data to different databases
How do I know I'm connecting my 2.5" laptop IDE connector right other than trial and error (error being destroy the drive)?
Memorytest86
sql syntax help to insert into an access table using vba editor
seesion is not establishing to desire ports
How to increase the size of image in toolstrip button+windows programming vb.net 2005
Performance: HashMaps vs Arrays
IBM 270 A/S400 stuck in syssav
SBS2003 - Deploying Printer Via GPO
string numeric and text