Search the Knowledgebase |
Browse by Category |
|
|
|
|
|
| Attaching The Food Processor Database to your instance of SQL Server 2000 |
| User Opinions |
85%
14%
(7 votes)
|
|
Thank you for rating this answer.
|
Note: using the ESHA Database with your own instance of SQL Server will require the server collation to be 'SQL_Latin1_General_CP1_CI_AS'. To attach The Food Processor Database (eshadata) in SQL Server 2000:
- Copy the eshadata.mdf file from "[CD]:\win32\program files\ESHA Research\data" into a drive that is local to the server (recommended is "c:\program files\ESHA Research\data").
- Check/change attributes on that file so it is not Read-Only.
- Start Query Analyzer (part of full SQL Server 2000).
- Connect to your server - MASTER database.
- In the text enter this (including quotes):
exec sp_attach_single_file_db @dbname = 'eshadata', @physname = 'C:\Program Files\ESHA Research\data\eshadata.mdf' NOTE: the @physname parameter should be the path to .mdf from step 1 including extension.
- Exit Query Analyzer.
PERMISSIONS NOTE: After it has been attached you will need to assign permissions for any user that will access the data. Use Enterprise Manager to add the user's Windows Authentication to the role 'FPRole' that exists in the database. If you are not using Windows Authentication (Active Directory), refer to the Using SQL Authentication document for information.
|
| Attachments |
|
No attachments were found.
|