Viewing 14 posts - 1 through 14 (of 14 total)
Thanks ChrisM, for your efforts for me.
But it gives me error "Out of Memory" and not able to execute. What to do?
June 15, 2012 at 12:04 am
Hi All,
No any comments, What happen? I am waiting for answer. I was on leave for a week. Pls give me some solution.
June 14, 2012 at 4:08 am
R.P.Rozema,
I want to remove the duplicates as a one-off task.
June 6, 2012 at 2:59 am
Vinu,
1. "TRU-90-JK" is not in output b'coz of this condition -
and h.perf_date between 14411 and 14755
and for "TRU-90-JK" perf_date is
doc_history
14526 | C | 17589
2. Query create the...
June 6, 2012 at 2:57 am
Refer R.P.Rozema post above. It is Sybase adaptive server (SQL J).
Not MSSQL.
June 6, 2012 at 12:27 am
Ok Vinu,
Tabel Structure
doc_header (docno [alphanumeric], docno_i [integer], description [alphanumeric], doc_type [alphanumeric])
doc_history (docno_i [integer], doc_status [alphanumeric], perf_date [integer])
doc_signoff_tree (docno_i [integer], ref_docno_i [integer])
doc_replacement (docno_i [integer], ref_docno_i [integer], replacement_code [alphanumeric])
Sample Data
doc_header
[docno] ...
June 6, 2012 at 12:13 am
Hi Vinu,
I think solution you have given is perfect. but I am not able to use it with my query. Pls see below is my query.
===========
select m.docno, m.adref, m.perf_date from
(
...
June 5, 2012 at 4:50 am
Thanks Vinu,
You have given perfect solution. But I have observed that some records are missing from output (this is my fault for incomplete sample data). After research it is found...
June 5, 2012 at 1:19 am
I found following site only. Please check. But I couldn't found anything useful here.
June 5, 2012 at 1:06 am
Dear R.P.Rozema,
I understand your concern, don't get angry. Sorry for troubling you. But frankly speaking I can't find the forum for SQL J. I am using SQL J for my...
June 4, 2012 at 10:10 pm
Hi Vinu Vijayan,
Max() function does not gives intended output. Because row selection from duplicate records is based on column2 value. If column2 value is present then select that row in...
June 4, 2012 at 3:41 am
Thanks for helping me. But 'ROW_NUMBER() Over' function is unknown in SQL version I am using (Gives error message). What is alternative solution to this problem. Any simple technique using...
June 4, 2012 at 2:38 am
Hi,
The output of my query contains duplicate records (i.e. column1 value is similar but other column's value different) as well as single record having column2 value blanks(-). now I want...
June 1, 2012 at 5:35 am
Viewing 14 posts - 1 through 14 (of 14 total)