PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Hébergement serveur > ms.sqlserver.server > Portable SQL Server Database
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
Portable SQL Server Database

Réponse
 
LinkBack Outils de la discussion
Vieux 17/06/2008, 15h19   #1
Dave
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Portable SQL Server Database

I need to work on a database at home and work. At home I have SQL Server
2000 and at work SQL 2005.

Is it possible to create the database files on a flash drive and move them
from one location to another? Can SQL Server 2005 read a 2000 database
without conversion? Would I just attach and detach the files after each use?

Is there a best practice appraoch to this problem?

Thanks
Dave

PS MS Access is not really an option here as I would have to down-size and
convert SQL Server objects (procs and triggres) to Access equivalents.
  Réponse avec citation
Vieux 17/06/2008, 15h37   #2
Mark
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Portable SQL Server Database

You can't take a 2005 database and use it at home with your 2000 install.

Best practice - either:

1) Find a way to securely connect remotely from home to work (VPN, Remote
Desktop, etc) using high speed internet access. If you're willing to do
this, your boss should be willing to pay the bill for your dedication.

2) Install the SQL Server 2005 Developer version at home. It's cheap.
[While secure, this would be a very inefficient way to work.]

Good luck.

Mark

"Dave" <Dave@discussions.microsoft.com> wrote in message
news:75F3A704-405F-4E68-BFF5-B7235EF3BDCC@microsoft.com...
>I need to work on a database at home and work. At home I have SQL Server
> 2000 and at work SQL 2005.
>
> Is it possible to create the database files on a flash drive and move them
> from one location to another? Can SQL Server 2005 read a 2000 database
> without conversion? Would I just attach and detach the files after each
> use?
>
> Is there a best practice appraoch to this problem?
>
> Thanks
> Dave
>
> PS MS Access is not really an option here as I would have to down-size and
> convert SQL Server objects (procs and triggres) to Access equivalents.



  Réponse avec citation
Vieux 17/06/2008, 18h57   #3
Dave
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Portable SQL Server Database

Thanks Mark

The database in question is a SQL Server 2000 so I was wondering how it
would be treated by SQL Server 2005. I believe if I attach the 2000 db files
to the 2005 server it attempts to convert them automatically.

This is an unusual situation but I was wondering if anyone had created a
"portable" SQL Server database, i.e., one that could be made accessible on
any server regardless of internet connection. For example, a database with
the mdb/ldf files on a flash drive (but this may require the files be
detatched each time the drive was removed).

I suppose a backup and restore might work.

If anyone has done sonmething like this, please let me know.



  Réponse avec citation
Vieux 18/06/2008, 08h51   #4
Tibor Karaszi
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Portable SQL Server Database

The problem is that as soon as you got the 2000 database into 2005 then it isn't a 2000 database
anymore (at the physical level). This mean that you won't get it back into your 2000 instance
anymore. This applies to both backup/restore as well as detach/attach.

As for working with "removable" databases, check out sp_certify_removable (etc.). the process is a
little bit involved, but at least there has been put *some* thoughts behind the topic. But make sure
all instances are on the same version...

--
Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/default.asp
http://sqlblog.com/blogs/tibor_karaszi


"Dave" <Dave@discussions.microsoft.com> wrote in message
news:26E7783A-AAC3-4EEF-944C-167EEE788255@microsoft.com...
> Thanks Mark
>
> The database in question is a SQL Server 2000 so I was wondering how it
> would be treated by SQL Server 2005. I believe if I attach the 2000 db files
> to the 2005 server it attempts to convert them automatically.
>
> This is an unusual situation but I was wondering if anyone had created a
> "portable" SQL Server database, i.e., one that could be made accessible on
> any server regardless of internet connection. For example, a database with
> the mdb/ldf files on a flash drive (but this may require the files be
> detatched each time the drive was removed).
>
> I suppose a backup and restore might work.
>
> If anyone has done sonmething like this, please let me know.
>
>
>



  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 03h45.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,10947 seconds with 12 queries