Re: DATETIME DEFAULT .... other than CURRENT ?
I would suggest using an insert trigger and check to see if the value is null then update it. You may not use expression in defaults. John F. Miller III STSM, Lead Architect miller3@us.ibm.com...
View ArticleRE: DATETIME DEFAULT .... other than CURRENT ?
Hello. You cannot use default values as a "not fixed" format, I think. The best way to solve your issue is creating a BEFORE INSERT trigger, testing for the datetime as null, for example, and then you...
View ArticleRate Informix
Guys: There is a new software rating site out there, G2Crowd. It's kind of a Yelp for software. Please help our favorite database by going to https://www.g2crowd.com/, select "Write a review" login and...
View Articledbspaces corrupted
We have Version 11.70FC4 sitting on a Red Hat 5.9 server that is, in turn virtualised. All dbspaces are on cooked file systems. We had a process that blocked the server using "onmode c block" followed...
View ArticleRe: dbspaces corrupted
If the chunks became read-only the engine will have marked the chunk offline if it received a write error trying to update the chunk. Art Art S. Kagel, President and Principal Consultant ASK Database...
View ArticleRe: dbspaces corrupted
Thanks so much. After fixing the read-only problem on the dbspace how does one bring the chunk back on-line? ******************************************************************************* To post a...
View ArticleRe: dbspaces corrupted
call IBM support, they can activate the chunk again, if it is consistent. Marcus Haarmann ----- Ursprüngliche Mail ----- Von: "RAY BURNS"<ray.burns@velocityglobal.co.nz> An: ids@iiug.org...
View ArticleRe: IDS / OS400 DRDA
Hi, i successfully installed informix enterprise gateway to be able to communicate with AS400. The configuration is done and daemon gwd started. With gwdba, the connection test succeed. But i can not...
View ArticleCannot access synonyms
Hi, I have two types of environments: 1. IBM Informix Dynamic Server Version 11.70.FC7X1 ( Instance X) 2. IBM Informix Dynamic Server Version 9.40.FC9W2XH ( Instance Y) Now, I have a synonym defined on...
View ArticleRe: Cannot access synonyms
Dne 09.04.2015 13:07, KAMLESH GALLANI napsal: > Hi, > I have two types of environments: > > 1. IBM Informix Dynamic Server Version 11.70.FC7X1 ( Instance X) > 2. IBM Informix Dynamic...
View ArticleRe: Cannot access synonyms
Sorry, It was a typo. There is only one @. ******************************************************************************* To post a response via email (IIUG members only): 1. Address it to...
View ArticleRe: dbspaces corrupted
If the chunks are mirrored on the Informix side you just run "onspaces -s -p /chunk/path -o <offset> -s <size> -O". If the chunk is not mirrored by Informix then your only options are: 1)...
View ArticleRe: Cannot access synonyms
Drop the synonym and redefine it as: create synonym "user".table1 for db@Y:"user".table1; Only one "@" sign is required to reference a database in a remote server. Art Art S. Kagel, President and...
View ArticleRe: Rate Informix
I did it Best Regards -- Rubén Dután Gerente APLEXT CIA. LTDA. Soluciones AX-ERP & TIC www.aplext.com.ec El mié, 08-04-2015 a las 18:41 -0400, Art Kagel escribió: > Guys: > > There is...
View ArticleRetrieve the Max Date and 2nd Max Date per ID
I have the need to retrieve the Max(invoice date) per customer. I also would like to retrieve the second Max(invoice date) per customer. Following is the SQL for the Max(invoice date) per...
View ArticleRe: Retrieve the Max Date and 2nd Max Date per ID
John, Try this one: select a.stn_sld_cus_id, Max(a.stn_inv_dt) max_invoice_date from sahstn_rec a, ( select a.stn_sld_cus_id, Max(a.stn_inv_dt) max_invoice_date from sahstn_rec c where stn_ord_pfx =...
View ArticleRe: Retrieve the Max Date and 2nd Max Date per ID
Version? On Thu, Apr 9, 2015 at 9:32 PM, JOHN KRUPA <jkrupa@turretsteel.com> wrote: > I have the need to retrieve the Max(invoice date) per customer. I also > would > like to retrieve...
View ArticleRe: Retrieve the Max Date and 2nd Max Date per ID
Your query was thisclose, but remember: your outer where clause should be at least as inclusive as your subquery where clause. select a.stn_sld_cus_id, max(a.stn_inv_dt) max_inv_date from sahstn_rec a...
View ArticleChunk layout in archive
I really feel I should remember this ... 11.50FC6WGE on x86. I have an ontape archive of a Benchmark db I took last June, and I want to restore it onto a potential customer's server to do some...
View ArticleRe: dbspaces corrupted
Out of interest, why are you blocking the server before doing an ontape backup? This is intended to allow external storage backups to take place safely. If you want to know the restore point, wouldn't...
View Article