Thanks Terry. I've read that before but glossed right over the fact the BOL says they cannot be used as variables.
Guess the day hasn't been a waste.
Lawrence M.
You can't do a full backup of a database after detaching it. You would need to do the backup of the database first, then detach it.
Once detached, the database is no longer available and all you can do with it is backup that actual files the comprise the database.
Rest of that seems fine, but...
Check for the table using IF EXISTS as in:
if exists
(select TABLE_NAME from INFORMATION_SCHEMA.TABLES
where TABLE_NAME='Categories' and
TABLE_SCHEMA='dbo'
)
[DROP STATEMENTS HERE]
ELSE
[do other stuff]
Try reapplying or upgrading MDAC and make sure you are logged in as an Administrator. If it's access you could upgrade to the latest JET release (SP3 plus a security rollup I believe)
Perhaps you would be better served by posting your question in the ODBC forum
Check the properties of Enterprise Manager (Tools | Options | Advanced) and see open console tree to last note option is on.
This option exists nder SQL 2K, and I think under 7.0 EM as well
When the users connect you will see their NT account names, not the group name.
If you want to see it in action for yourself, use SYSTEM_USER. Connect to the server as one of these users and run the following from query analyzer
select system_user
BTW - showing the plan or even trying to display the estimated execution plan does not work either. When I try to use display estimated plan it returns the 'cannot use ntext...in order by clause' error.
How exactly are you getting an execution plan against a statement that the server is...
Ran this against an Enterprise Edition installation that has SP2+Latest security rollup applied, and it failed (as expected). Maybe there was a bug in a patch that you have applied that was fixed, it wouldn't be the first time, but I kind of doubt it.
Can you post the table DDL? Perhaps...
Maybe a sniffer will show something. Sounds like the target server is being shutdown or you have some network problems that are causing connection-loss.
Have you tried backing up to a local drive, then performing a copy of this file (so you have it in two places)? That's probably safer anyhow...
What error does it return?
I can't see how the execution plan should be different for different versions. If it is not supposed to work, then it shouldn't matter what the execution plan says.
Are you *sure* that the field it does work on is an ntext?
System error 5 is 'access is denied'
Whatever id is trying to load the driver doesn't have permission to do so. Check the securities on your system (maybe try auditing and see what that turns up). Since this is a web-server, I would be hesitant to start granting the id administrator access.
You can have only one primary key per table, so I assume you are talking about a composite key. If the StoreID and Store No. taken together are unique, then you could use these. If either column will always contain unique values, then just set that column as the primary key. If both column will...
pwills,
1) I am of the opinion that everything should be owned by dbo. It makes moving objects easier as you have found, and it makes permissions assignments much simpler because you don't have to worry about ownership chains.
2) use sp_changeobjectowner
3) You could script out the views and...
You might be able to use SQL Server's replication facilities to push the data to MySQL. If MySQL is the source, then you could create a DTS package to import the data and schedule it to run periodically.
Another option is to use linked servers (see linked servers in SQL Books Online).
Are the access drivers installed on the machine you are working from? Maybe you need to update the Jet Drivers to the latest version?
Maybe the access database it is pointing to is damaged and needs to be repaired.
IIS in .NET server by default is setup so that it will only serve static pages (no active content). You will need to enable the ASP extension in the IIS manager on the server (I'm assuming your redirect is to a separate .NET Server).
That's the only suggestion I really have. Hope it works.
Virtual servers apply only in the context of a server cluster.
You could *probably* set them up using VB, but it would be a matter of modifying/creating registry entries, etc.
What are you trying to do?
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.