Skip to content
Advertisement

Tag: syntax

Calculate Days Between Based on 3 Variables & Syntax Error

I’m hoping you can provide some insights on a couple of issues: ISSUE 1 – i’m receiving the following error message running in Teradata: “Syntax error, expected something like ‘)’ between an integer and the ‘then’ keyword.” There are some duplicate records in my data and what I am trying to say is if all conditions are met, then Age

Oracle SQL Select Only 5 Digit Row in a Column [closed]

Closed. This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 1 year ago. Improve this question SLNO Column select only 5 digit row Answer Please use length function of oracle. For e.g: In your case

INSERT INTO a table comparing two other tables using Not EXISTS

I have 3 tables: Server_db_relation DatabaseList DatabaseList_Archive The goal is to compare table Server_db_relation and DatabaseList based on the values in column ServerName and DatabaseName. If the values do not exists in the table Server_db_relation, but do exist in DatabaseList, then it should insert the entire row from DatabaseList into DataList_Archive (those two tables are identical in structure). In addition,

why does SQL server consider SS as an Umlaut-S (ß)?

When I run the below query: it returns a 6. I specifically chose ß for a function as I thought it very unlikely to appear in any of my data. This was working perfectly fine for several weeks but now all of the sudden it’s detecting ß where there is no ß and therefore screwing up my function. Will someone

Advertisement