I have an SQL statement and I would like to have an alias with a space. For example:
select name as User name from users;
I tried different syntaxes but it fails.
select name as "User name" from users;
select name as 'User name' from users;
select name as {User name} from users;
select name as [User name] from users;
database version: Firebird 2.5
Help me please
I would advise you to simply stop wanting the space -- it is a hassle to deal with delimited identifiers in any database.
But, as the documentation explains, Firebird does not necessarily support them:
- Delimited identifiers are available in Dialect 3 only. For more details on dialects, see SQL Dialect.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With