I am using IBM DB2. I have a query which gives the output as: NAME/AMOUNT CST/- VAT/ 1400 ST/- I am trying to write a coalesce function for AMOUNT. The datatype of AMOUNT is decimal(10,2)
I 开发者_Python百科have the following SQL statement which does not run on my DB2 database: WITH a AS (
I have a table having 10 columns, with id, f_name, l_name ..... low_range, high_range, ... I want to write a query which will print all my table, but just this low_range and high_range to be converte
I\'m building a query against a DB2 database, connecting through the IBM Client Access ODBC driver. I want to pull fields that are less than 6 days old, based on the field \'a.ofbkddt\'... the problem
hit a wall on getting a count AND a percentage of total in a single query I want the TOTAL units per location AND the PERCENT of TOTAL ACROSS ALL LOCATIONS...
I didn\'t see this exactly asked, so I\'m hoping it wasn\'t. I have a table that has multiple columns with code variables and a table that has all lookup codes and de开发者_StackOverflow中文版script
I want to access oracle tables in DB2(something like DBlink from DB2 to oracle).Any he开发者_Go百科lp is appreciated.You can use db2 federation. One link is here.Oracle has a feature called Heterogene
Lets say I have a csv file(ids.csv) with ids like 101,102,103......1MILLION I wanted to select data from the table by reading ids from file in the where clause
I am using the DB2Driver in my code like Class.forName(\"com.ibm.db2.jcc.DB2Driver\"); and I am getting the result set i开发者_Python百科n my java code which is scroll sensitive. my sql query look
I am trying to run an sql statement on an iSeries that will output retuls based on a type pa开发者_如何学JAVArameter I pass in.