Skip to content

Using Classic ASP – SQL – JSON

I’m trying to serialize a SQL query in Classic ASP to a json object and I have found some great code that helps me achieve that but where my issue comes in is I then need to manipulate the output that is returned by the QueryToJSON(cmd, arParams).Flush I need to take the value and add some string / text…

Aggregate rows based on MIN flag

I’m thinking this is an easy one but the answer is escaping me. Example: I have a query returning 10 rows, some of which are identical except for the last 2 columns which are a comment and a number(…

Comparing two column values in postgres

I have table having following columns and records. I need to compare the two column values(ColumnA and ColumnB), if ColumnB>ColumnA then and update the third column from ‘N’ TO ‘Y’ CREATE TABLE Test(…