Quantcast
Channel: Access for Developers forum
Viewing all articles
Browse latest Browse all 14673

query aliasing in select command

$
0
0
i want to alias a column with space separeted Name as follows

    SELECT REGIONS.REGION_NAME as Region Name from tblRegion
but it gives me error.
i can do it as follows

    SELECT REGIONS.REGION_NAME as 'Region Name' from tblRegion
but i want it without qutation.i bind the query in gridview and gridview header should look Region Name.i bind the query dynamically.So i need the aliasing.how to do it?

Viewing all articles
Browse latest Browse all 14673

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>