I am stuck with the following SQL line due to the apostrophe. I am using this to generate a table in Power BI that is used as the RLS link. As a result the apostrophe needs to stay in one string.
select 'adam.obrian@email.com.au' as Email, 'Adam O'Brian' as Access union all
How would I get around this?
Expecting a table as below:
Access | |
---|---|
adam.obrian@email.com | Adam O'Brian |
Ignoring the Union all, this is part of a long table query.