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
Migration from win 2008 sbs to one win 2008 dc\file server and one win 2008 exchange server.
What would be the best software for headset/mic communication between two PC:s on same LAN?
Excel Cells with Formulas not updating when inputs change
SCSI Tape drive on ESX
Java Scanner NullPointerException
Need help with Sql Query
SQL Query to give percentage of colour customers
Unix Shell script to simplify scp via reverse ssh tunnel
How can I delete duplicate records in a SQL database without a primary key?
Copy data from a web site into ms access