Skip to content Skip to sidebar Skip to footer
Showing posts with the label Sybase

Select Top 1 * From Table Fails In Sybase Procedure

Am trying to Fetch Only one record from the Sybase Table without using the RowCount Function, even … Read more Select Top 1 * From Table Fails In Sybase Procedure

Sql Query To Get Primary Keys For All Tables In Sybase Ase 15.x Along With Column Names

I'm using Sybase ASE 15.5 and a stranger to this database. Straight to the point--> I'm … Read more Sql Query To Get Primary Keys For All Tables In Sybase Ase 15.x Along With Column Names

Sybase Sql - Remove "semi-duplicates" From Query Results

I have a query that uses two SELECT statements that are combined using a UNION ALL. Both statements… Read more Sybase Sql - Remove "semi-duplicates" From Query Results

Sql Join To Get The Cartesian Product Of 2 Columns Out Of 3 Columns

I have the following table: create table #table ( time int, key char(1), val int ) with th… Read more Sql Join To Get The Cartesian Product Of 2 Columns Out Of 3 Columns

How To Delete Duplicate Rows In Sybase, When You Have No Unique Key?

Yes, you can find similar questions numerous times, but: the most elegant solutions posted here, wo… Read more How To Delete Duplicate Rows In Sybase, When You Have No Unique Key?

Sybase Select Statement

I am trying to select with some specific conditions but cannot seem to get what I am wanting. Table… Read more Sybase Select Statement

How To Continue Executing Rest Of While Loop Even If An Exception Occurs In Sybase?

This is related to this question but slightly different, I have while loop that inserts records and… Read more How To Continue Executing Rest Of While Loop Even If An Exception Occurs In Sybase?

Writing A Query With A Not Exists Clause Without A Subquery For The Not Exists

I was interested in writing a query for an application where I need to use a NOT EXISTS clause to c… Read more Writing A Query With A Not Exists Clause Without A Subquery For The Not Exists