SELECT 'foo' FROM myTable
or
SELECT foo FROM myTable
To copy to clipboard, switch view to plain text mode
doesn't matter, since they work both.
Yes they both work, but they do different things of course.
The first will always return the text foo, no matter what is actually in the table, and the second will return the content of the column with name foo.
Yes they both work, but they do different things of course.
The first will always return the text foo, no matter what is actually in the table, and the second will return the content of the column with name foo.
i know sorry, i just wanted to point out that i would be happy with either of them, instead of the error i got
Bookmarks