Ask a Question related to Coldfusion Database Access, Design and Development.
-
AndyDC #1
CF requiring owner name prefix to tablename during query
Hi,
We are beginner a transfer of all of out apps from CF5 to CF7 and I noticed
that, when the owner of a table is not DBO, then I have to prefix table names
with the owner name. For example...
Say we have a table called "SysAdmins", it is owned by the user "Andy".
This doesn't work, but worked in previous versions:
SELECT * FROM SysAdmins
But, this works:
SELECT * FROM Andy.SysAdmins
Is this a new function of CF7? Is there are setting to make CF not require
this prefix?
Thanks!
Andy
PS. We are running CF7 with MS SqlServer v8.
AndyDC Guest
-
sort tablename in sql table
hi.. i have several tables where I need to sort the column name in a table; asc order.. how can i do that? ex: table is abc column name: yahoo,... -
ASP problem - Invalid object name 'dbo.tablename'
I've got a really strange ASP situation that driving me crazy! I'm sorry that it sounds like a word problem, but these are the things I've tried. ... -
Drop table <tablename> failling
I created a very simple table in db2, the prompt gave a success message. but when I try to do a describe or select or insert or basically anything... -
query on changing object owner
I need to change object ownership for all objects (sp's, tables, views, etc) from SGLuser to dbo for a sql 7 db. Can anyone give me an idea of the... -
using DatabaseName.dbo.TableName
First, sorry for my bad english...I work hard to improve it I need to access a table in a different database Ex: I work on a table tableOne in... -
zz3top #2
Re: CF requiring owner name prefix to tablename duringquery
We are running on CFMX v6.1 with SQLServer7 and have not experienced this
issue. Sounds like it may be an account configuration issue with your
SqlServer account access. Have you tried manually accessing SqlServer with
Enterprise Manager using the account in question?
zz3top Guest
-
James168 #3
Re: CF requiring owner name prefix to tablename duringquery
Hi Andy,
If you create public synonyms for those tables in the database, table owner prefix will not be required. This works in Oralce. I think MS SQL does the same.
James
[url]www.kidSale.com[/url]
James168 Guest



Reply With Quote

