I want to cast the output of a case statement, but I havne't been able to get the syntax correct.
cast(case when abckey like 'star%' then abckey else '' end as char(5)) as as STATUS
3706: Syntax error: expected something between '(' and the 'case' keyword.
I'm having trouble getting the syntax for a like statemetn to use paremeters in a macro. I can't get the paremeters to work. Can anyone se what I'm missing?
replace macro MACRO_DB.CollStatsPT_M (DBname Char (50), indicator Char (12))
as
(
SELECT databasename, tablename
'FROM
DBC.Tables...
I check the "use Column Names" option in my ODBC driver setup.
WinDDI indeed uses the column names.
Queryman uses the column titles. Can I make Queryman use column names?
Thanks.
I have not been able to get the message directed to a Windows file.
I've tried the > and >> but that hasn't changed anything.
There's nothing more required than to add the file name to the BTEQ command line?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.