| Thread | Last Post | Replies |
|
| Stored procedure, first run slow | 31 May 2008 19:00 GMT | 6 |
Here is a problem I would like some opinions on. I have a stored procedure (I suspect that the problem exists for other procedures as well, but I haven't verified it). First time it runs (each day) it takes 8-10 minutes to run. If I rerun the procedure after a while it
|
| ADD A COLUMN IN SERTAIN POSITIONS: | 31 May 2008 00:12 GMT | 10 |
I have a table FAMILY folowing columns: SSN,NAME,DOB,AGE,PL_BIRTH,MARITAL_STAT I would like to add a column GENDER between columns NAME and DOB. Is posiible wihout Droping table FAMILY?
|
| decimal to date | 30 May 2008 22:07 GMT | 9 |
I've probably asked this before, but I can't remember the answer! One can use the DECIMAL function to convert a date to a decimal. For instance values decimal(current_date)
|
| monitoring backup | 30 May 2008 03:08 GMT | 2 |
Is there a way in DB2 or maybe a separate tool that will let us see how many pages DB2 has currently read while a backup operation is in progress. I understand "db2 list utilities show detail" shows the amount of work
|
| any warehouse database upgraded to v9.1? or v9.5? | 30 May 2008 02:53 GMT | 3 |
Here a database with 100+T data considering being upgraded and I'm evaluating the risk. Before that, I wanna know how many such kind of very large scale DB2 databases have been upgraded? Any one could give me some reference? If you know such cases, could you tell me the names
|
| Generate Unique Number in DGTT | 29 May 2008 18:00 GMT | 1 |
I'm using DB2 V9 for windows I'm inserting records into DGTT from select statement; the problem is how to insert unique value for every row inserted. I tried using “generated always as” clause but its exhausting at some
|
| loading in to generated row change timestamp column | 29 May 2008 02:32 GMT | 2 |
We're trying to take advantage of the new ROW CHANGE TIMESTAMP option. Here is a simple table: CREATE TABLE "ACCTASGN"."NUMBER_STATUS" ( "STATUS_CODE" CHAR(1) NOT NULL ,
|
| IDENTITY PK-FK corruption of data | 28 May 2008 21:12 GMT | 11 |
I have a problem with a DB2 server of my customer. It is a Debian Linux running DB2 Express-C. I have an IDENTITY field as PK in a table and I use this value as FK in another table. Two weeks ago the FK values got corrupted or mixed up somehow. I also got some warnings
|
| sqlerr -119 when trying to produce following report | 28 May 2008 13:56 GMT | 3 |
I am trying to produce following report: sum of sales value for two years group by months: month 2006 2007 ------- ------ --------
|
| TRUNCATE stored procedure | 28 May 2008 06:07 GMT | 3 |
The following link includes an example of a stored procedure that can be used to truncate a table without logging: http://publib.boulder.ibm.com/infocenter/db2luw/v9/index.jsp?topic=/com.ibm. db2.udb.apdv.sample.doc/doc/admin_scripts/s-truncate-db2.htm
|
| DB2 UDB Installation on Windows Vista | 27 May 2008 22:06 GMT | 1 |
I am unable to install DB2 on Windows Vista... Can anyone let me know whether any of the features of DB2 are not compatible with Vista! I have been tryin' to install it several times but failin'...
|
| Multitable insert in DB2 v8 os no Merge is avilable: | 27 May 2008 13:37 GMT | 6 |
What is the best way to I have 10 tables with similar INSERT requiremnts. INSERT INTO ACSB.VAATAFAE WITH AA(AA_TIN, AA_FILE_SOURCE_CD, .AA_TIN_TYP) AS
|
| ho w to see the output of "Message_Text" | 27 May 2008 12:51 GMT | 1 |
I would like to know how to we see the output of "MESSAGE_TEXT " . Below is 1 such procedure .. create procedure mess_test (out p_sqlstate char(5) , out p_sqlcode int )
|
| DB2 on z/OS different than on LUW ? | 26 May 2008 23:36 GMT | 2 |
Is DB2 on z/OS same as DB2 on LUW ? Will my DB2 DBA on one environment have to retrain again on the other ? Thanks
|
| move rows from one table to another | 23 May 2008 22:33 GMT | 2 |
Maybe a simple question, but what is the best way to move (not copy!) data from one table to another? Meaning, I want to insert a set of rows from one table to another *and* delete all of the same rows from the source table.
|