I need to run the following query. The code runs fine in SQL but I'm not sure what to do with it in Cold Fusion. I am using SQL 7 and CF5. The query (with hardcoded values instead of variables) is:
DECLARE @emps varchar(50)
SELECT @emps = COALESCE(@emps + ';', '') + e.last_name
FROM...
I have a Cold Fusion application with a SQL 7 database. The database has an employee table with a bit field for storing certain permissions. How do I write my sql statement to, for example, return all employees that meet the criteria of a bitand on the fourth bit? Thanks in advance for the help.
I have a Cold Fusion application with a SQL 7 database. The database has an employee table with a bit field for storing certain permissions. How do I write my sql statement to, for example, return all employees that meet the criteria of a bitand on the fourth bit? Thanks in advance for the help.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.