--
Dejan Sarka, SQL Server MVP
FAQ from Neil & others at: http://www.sqlserverfaq.com
Please reply only to the newsgroups.
Quote:> Hi,
> I am looking for a sql script that will check what version
> of sql server is installed and then perform an action
> depending on what the version is.
> Can anybody help with this?
Al
Quote:>Hi,
>I am looking for a sql script that will check what version
>of sql server is installed and then perform an action
>depending on what the version is.
>Can anybody help with this?
A simple question for all those budding DBADMIN people. I would like to copy
my DB on to a CDROM or HDD then take it else where and read the entire
database (Including, tables, indexes, constraints and SPs etc).
What is the most simple and effective way of doing this ?
Hey guys I am very new to MS SQL2000.
Thanks
Yamin
HTH
Ron LeVau,
Database Consultant
Quote:> Hi
> A simple question for all those budding DBADMIN people. I would like to
copy
> my DB on to a CDROM or HDD then take it else where and read the entire
> database (Including, tables, indexes, constraints and SPs etc).
> What is the most simple and effective way of doing this ?
> Hey guys I am very new to MS SQL2000.
> Thanks
> Yamin
A simpler procedure is to stop SQL Server, copy the mdf, ndf and ldf files
that make up the database, take them to the new machine and run
sp_attach_db in Query Analyzer. This will attach the database. However any
users in the database will basically be orphaned. You will need to account
for these users. Look at sp_change_users_login in Books on Line to deal
with these.
Rand Boyd
Microsoft SQL Server Support
Please reply only to the newsgroups.
When posting, please state the version of SQL Server being used and the
error number/exact error message text received, if any.
I've been "encouraged" to share this helpful information from our lawyers.
This posting is provided "AS IS" with no warranties, and confers no rights.
You assume all risk for your use.
? 2001 Microsoft Corporation. All rights reserved.
Quote:> Yamin,
> A simpler procedure is to stop SQL Server, copy the mdf, ndf and ldf files
> that make up the database, take them to the new machine and run
> sp_attach_db in Query Analyzer. This will attach the database. However any
> users in the database will basically be orphaned. You will need to account
> for these users. Look at sp_change_users_login in Books on Line to deal
> with these.
> Rand Boyd
> Microsoft SQL Server Support
> Please reply only to the newsgroups.
> When posting, please state the version of SQL Server being used and the
> error number/exact error message text received, if any.
> I've been "encouraged" to share this helpful information from our lawyers.
> This posting is provided "AS IS" with no warranties, and confers no
rights.
> You assume all risk for your use.
> ? 2001 Microsoft Corporation. All rights reserved.
>--
>Dejan Sarka, SQL Server MVP
>FAQ from Neil & others at: http://www.sqlserverfaq.com
>Please reply only to the newsgroups.
>> Hi,
>> I am looking for a sql script that will check what
version
>> of sql server is installed and then perform an action
>> depending on what the version is.
>> Can anybody help with this?
>.
Rand Boyd
Microsoft SQL Server Support
Please reply only to the newsgroups.
When posting, please state the version of SQL Server being used and the
error number/exact error message text received, if any.
I've been "encouraged" to share this helpful information from our lawyers.
This posting is provided "AS IS" with no warranties, and confers no rights.
You assume all risk for your use.
? 2001 Microsoft Corporation. All rights reserved.
--
Keith, SQL Server MVP
Quote:> Rand,
> sp_change_users_login does not create the original passwords for the
logins
> that will be created. Is there any other procedure to regenerate these
> passwords other than restoring the backup of the master database from the
> source (original) server.
> Thank you.
> Prasad.
1. New to SQL, need SQL version
I am working with an installed SQL and want to know the version. Is there a
simple way to do this? I have just started to learn to use this database and
am not familiar with it.
Dave
3. SQL Calculation errors between SQL Versions
4. Run DTS package from ADO code in VB or Access2000
5. I installed SQL 2000 over SQL version 7.0
6. Indexing problems with dBASE 4 files
7. Creating new Store procs or use prev SQL version of one
10. What's the query for checking SQL version
11. SQL version 7 backup error
12. SQL Version
13. SQL version of the MySQL LIMIT