Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
please help with one question!
I have the following code:
LOAD
IF(Date > Today(), 'new', 'old') AS Date_status,
Value;
Select
a AS Date,
b AS Value
From Table YYY;
I want in LOAD section add one column C with only one value "Dollars".
But I don't know the right syntax ...
Something like:
LOAD
IF(Date > Today(), 'new', 'old') AS Date_status,
Value
'Dollars' AS MoneyName;
Please help with the correct syntax.
Looks good, except a comma is missing:
LOAD IF(Date > Today(), 'new', 'old') as Date_status,
Value,
'Dollars' as MoneyName;
SQL SELECT....
did u try removing the ' single quote?
Looks good, except a comma is missing:
LOAD IF(Date > Today(), 'new', 'old') as Date_status,
Value,
'Dollars' as MoneyName;
SQL SELECT....
Just add Comma(,) after Value field in your script