469,081 Members | 1,886 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,081 developers. It's quick & easy.

How to parametrize additional column title?

I need to put current date into additional column title. I mean something like this

SELECT Name_1, ' ' AS CURDATE() FROM Table_1 ...

or, better

SELECT Name_1, ' ' AS CONCAT('My column ', CURDATE()) FROM Table_1 ...

But it doesn't work. AS seems to take only single strings.
Is there any solution?

Thanks in advance.

Marek Kotowski
Warsaw
Jul 19 '05 #1
0 957

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by Nicolas Favre-Félix | last post: by
6 posts views Thread by Marek Kotowski | last post: by
1 post views Thread by Terry | last post: by
2 posts views Thread by dSchwartz | last post: by
reply views Thread by Chran | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.