473,542 Members | 15,359 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

DB2 Database Forum

DB2 relational database management system (IBM) - ask questions about DB2 administration and development, tuning, clustering, queries, security, API, views, joins, XML, schemas, tables, triggers, SQL and more.
0
1,293
thread by: Rahul B | last post Aug 14 '07 by: Rahul B
Hi, I have a table where one of the columns is automatically generated as a substring of values of some other column. When i create a copy of that schema using sysproc.admin_copy_schema, the table goes in pending state, because the data in the table was inserted fully and the column was not automatically generated(i think this is the...
0
1,558
thread by: Serge Rielau | last post Aug 14 '07 by: Serge Rielau
http://www.youtube.com/user/channeldb2 ....time to padlock my cube... ;-) -- Serge Rielau DB2 Solutions Development IBM Toronto Lab
0
1,785
thread by: brunodamato | last post Aug 13 '07 by: brunodamato
In the example that follows, I am receiving an incorrect result set in the View. I am looking to get the FULL result set from View_LY and Table_TY. Instead, this View is returning the Common (Equi) records and records on Table_TY only. Missing the records on View_LY only. Any known problems with FULL OUTER JOIN in DB2 or am I missing...
0
2,059
thread by: bhd282 | last post Aug 13 '07 by: bhd282
am unable to find out how to locate and update some of the configuration parameters for automated backup, ie, outside of the Control Center's Automation Maintenance Wizard. I am able to GET/UPDATE DB CFG for the parameters for automated backup, etc. That I understand. Where are the configuration parameters for options for the scheduling...
0
1,281
thread by: UNIQUENAME | last post Aug 13 '07 by: UNIQUENAME
i'm relatively new to db2, and having a problem. running udb v8 in a windows platform trying to connect from a ibm vse box. after a clean compile and succesful package build i execute program bur566b which throws a sql error on the connect SQLCODE: -934 SQLSTATE: 58021. this seems to indicate a program...
0
2,141
thread by: direct151 | last post Aug 13 '07 by: direct151
Is there a way to select the text description of a set of fields in a table? I am looking for a result set like the following: fieldName | fieldDesc ------------------------------------------ RMCUST Customer Number RMADDR Customer Address RMMZIP Customer Zip
1
2,737
thread by: Sam Durai | last post Aug 13 '07 by: Sam Durai
GM, I have couple of questions related to value compression feature in DB2 V8.2 Any method to get the list of tables enabled/not enabled for value compression in DB2 V8.2 ?. I think I can use db2look to generate the DDL but I would prefer to use any system catalog table if available. Any method to estimate the space savings in value...
0
1,410
thread by: Johnny Ocampo | last post Aug 13 '07 by: Johnny Ocampo
Hi, I'm trying to use Microsoft Query to read data from DB2. However, I'm getting the following error message: SQL0206N "BLOB" is not valid in the context where it is used. SQLSTATE=42703. Do you know what this message mean? Thanks,
0
973
thread by: dvdgal | last post Aug 13 '07 by: dvdgal
Hi All, Anyone has encountered problem with SQL that contains "parenthesis" () on AIX DB2 v8.2.3 e.g. select name, address from account where (flag = 0 and account_id = 1000) order by name SQL is in a java class and when the program executes to the SQL, it throws errors Failed in search:com.ibm.db2.jcc.b.SqlException: Invalid operation:...
3
5,419
thread by: babdya | last post Aug 13 '07 by: babdya
Hi there, I need to extract huge amount of data from a DB2 dabase periodically. The extracted data needs to be exported to CSV format. I have thought of writing a Java piece of code to connect to DB2 using JDBC and then execute various queries. Is there any in-built functionality using which I can export the query resultset to CSV ? Thanks
5
1,931
thread by: Rohit | last post Aug 13 '07 by: Serge Rielau
I read that IBM DB2 Express-C database is FREE with no restrictions. What type of licensing policy does it have in case I want to bundle it with my .NET application (closed source)?
0
1,658
thread by: starprogrammer | last post Aug 13 '07 by: starprogrammer
Hi! Is there any statement like INSERT IGNORE in MySQL in DB2 to ovewrite the existing record ? If yes can you please give a sample of this?
0
1,166
thread by: vam | last post Aug 13 '07 by: vam
VAM SYSTEMS is a Business Consulting, IT Technology Solutions and Services company with operations in UAE, Qatar, USA, Singapore and India. VAM SYSTEMS are currently looking for J2EE Professionals for our Bahrain operations with the following skill set and terms and conditions: Skills: Strong development experience in J2EE with...
0
995
thread by: uscheunemann | last post Aug 13 '07 by: uscheunemann
Hello, I'm not familar with DB2 under AS400. I want to read, which tables are in a database and which columns are in a selected table. Under DB2 for LUW I use the views SYSIBM.TABLES and SYSIBM.COLUMNS. Are these elements the same under DB2 for AS400? Thanks for help Best Regards
3
4,443
thread by: Troels Arvin | last post Aug 13 '07 by: Troels Arvin
Hello, A DB2 v. 8 DMS tablespace ran full. Subsequently, almost all data in the tablespace has been deleted, but "LIST TABLESPACES SHOW DETAIL" keeps stating that the tablespace has 0 free pages. I've tried running a REORG on all remaining tables; that didn't help. Trying to create a table in the tablespace yields: bash-3.00$ db2 "create...
2
1,034
Db2
thread by: asokanusha | last post Aug 13 '07 by: appunni
Which of the following occurs if an application ends abnormally during an active unit of work? a. The unit of work is committed. b. The unit of work is rolled back c. The unit of work remains active d. The unit of work moves to a pending state
0
1,123
thread by: pravi4u | last post Aug 12 '07 by: pravi4u
Hi, I need to write a storred procedure(language sql) for multi row insert. How should I write the IN parameters in SP(when the input parameters are arrays)? How can I pass arrays(each representing columns) from my java code to this SP? Could anyone please give a sample code... Thanks in Advance, Praveen
3
1,084
thread by: SaadAli | last post Aug 12 '07 by: myprotein
Dear All, I have a database whose backup size (without compression) is 756Mb. The i emptied all data from the tables and took the backup which is again 756Mb. Can anyone guide me why this happen and how to correct it to bring database size to a reasonable size? Regard SaadAli
0
1,852
thread by: sarakumarsg | last post Aug 12 '07 by: sarakumarsg
Hai, i would like to use dynamic sql for update records in the DB@ db. Means, the value to be updated will be send as concatenated string. Then based on the concatnation value i need to retrieve the records into cursor..then update the set.. how can i do that.. say for example, i would like to update the salary for all the employees in...
1
1,555
thread by: Tonkuma | last post Aug 12 '07 by: Serge Rielau
DB2 Viper 2 compatibility features http://www.ibm.com/developerworks/db2/library/techarticle/dm-0707rielau/ It is very interesting and must be usefull. I want to know the plan when Viper 2 will be available.
4
1,476
thread by: Mark Townsend | last post Aug 11 '07 by: Mark A
Attempted to download the paper "Testing SOA applications with IBM Rational quality management solutions" Filled out the form (First and Last, Email), and was taken to the page for the download. However, the following message was where the link was supposed to be :-) Missing required fields. Business Contact Information: Company
0
1,128
thread by: chandra131 | last post Aug 11 '07 by: chandra131
Hello, Thankyou for helping me. Here we have two quires on same table , but FROM classs differs. But both quiries uses the same INDEX.I have provided the index details below.Is there any chances to improve performance. Please help me. Thank you. STATEMENET :1 ---------------------------
4
3,804
thread by: DavidAWeis | last post Aug 10 '07 by: Serge Rielau
Does anyone else support SAP running onto of DB2 in an unix environment? The consultants we have in here are insisting on creating a different DB2INST owner/userid for each environment and server. They say....."In all the installations they have worked on, this is the way it has been done: different user ids for different...
3
2,705
thread by: roxrox_1959 | last post Aug 10 '07 by: roxrox_1959
I'm attempting to connect to a DB2 database using DBD::DB2 running on a Linux device. I'm getting the following error: ** connect: Unable to get database handle: DBI connect('p88flaq','ip88flaq',...) failed: SQL1042C An unexpected system error occurred. SQLSTATE=58004 at /usr/lib/perl5/site_perl/5.8.5/Oasis2/DBConn.pm line 2155 I've...
5
3,487
thread by: Baski | last post Aug 10 '07 by: Serge Rielau
Hi, I am using db2 9 CLP. When the output of the select command is more than a page the messages scrolls out of the page. Is it possible to pause the messages so that they can be viewed one page at a time, ( just like 'set pause on' in Oracle sql prompt). I am unable to find any command options that correspons to this setting. Thanks....

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.