Skip to content

SQL “all in” group by

I’m having troubles with some sql statement. I have a table like this: I couldn’t find any SQL form to do that but I want something like this: SELECT Col1, CASE WHEN all(Col2 in (‘A’,’B’,’C’…

SQL transaction with JS Array of Objects?

Say i have an Array of Objects Now i create a comma seperated list To pass it to sql.transaction? is there any other way then to loop through the array and pass object each by one or can i pass bulk array? When i pass the comma_seperated_list_response it says Error object Object Answer If every object into yo…

Teradata Parsing Full Name field sql

I have a column with a name value with a data type of char(64) LATIN in a Teradata table. The values look like ‘SMITH JOHN J ‘, ‘Doe Jane Anne ‘, etc. The spaces between the …