Can anyone guide me on how to determine if a backup is a 2005 or 2000
database. Is there some identifier bytes I can look at to determine the
correct version.
I have no problem writing a utility to scan a backup file for the correct
info (if it is necessary)
TIA
RobOn my 2000 server:
restore headeronly
from disk = 'C:\Program Files\Microsoft SQL
Server\MSSQL$SQL2000\BACKUP\Northwind.bak'
results:
SoftwareVersionMajor = 8
SoftwareVersionMinor = 0
SoftwareVersionBuild = 2039
Same in 2005
--
Kevin Hill
3NF Consulting
http://www.3nf-inc.com/NewsGroups.htm
Real-world stuff I run across with SQL Server:
http://kevin3nf.blogspot.com
"Rob Diamant" <robdusi@.hotmail.com> wrote in message
news:u9vIGRcCHHA.144@.TK2MSFTNGP02.phx.gbl...
> Can anyone guide me on how to determine if a backup is a 2005 or 2000
> database. Is there some identifier bytes I can look at to determine the
> correct version.
> I have no problem writing a utility to scan a backup file for the correct
> info (if it is necessary)
> TIA
> Rob
>|||RESTORE HEADERONLY will give you such information. Check of the SoftwareVersionMajor column.
--
Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/default.asp
http://www.solidqualitylearning.com/
"Rob Diamant" <robdusi@.hotmail.com> wrote in message news:u9vIGRcCHHA.144@.TK2MSFTNGP02.phx.gbl...
> Can anyone guide me on how to determine if a backup is a 2005 or 2000
> database. Is there some identifier bytes I can look at to determine the
> correct version.
> I have no problem writing a utility to scan a backup file for the correct
> info (if it is necessary)
> TIA
> Rob
>
Showing posts with label bytes. Show all posts
Showing posts with label bytes. Show all posts
Sunday, February 19, 2012
How to identify 2005 vs 2000 backups
Can anyone guide me on how to determine if a backup is a 2005 or 2000
database. Is there some identifier bytes I can look at to determine the
correct version.
I have no problem writing a utility to scan a backup file for the correct
info (if it is necessary)
TIA
RobOn my 2000 server:
restore headeronly
from disk = 'C:\Program Files\Microsoft SQL
Server\MSSQL$SQL2000\BACKUP\Northwind.bak'
results:
SoftwareVersionMajor = 8
SoftwareVersionMinor = 0
SoftwareVersionBuild = 2039
Same in 2005
Kevin Hill
3NF Consulting
http://www.3nf-inc.com/NewsGroups.htm
Real-world stuff I run across with SQL Server:
http://kevin3nf.blogspot.com
"Rob Diamant" <robdusi@.hotmail.com> wrote in message
news:u9vIGRcCHHA.144@.TK2MSFTNGP02.phx.gbl...
> Can anyone guide me on how to determine if a backup is a 2005 or 2000
> database. Is there some identifier bytes I can look at to determine the
> correct version.
> I have no problem writing a utility to scan a backup file for the correct
> info (if it is necessary)
> TIA
> Rob
>|||RESTORE HEADERONLY will give you such information. Check of the SoftwareVers
ionMajor column.
Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/default.asp
http://www.solidqualitylearning.com/
"Rob Diamant" <robdusi@.hotmail.com> wrote in message news:u9vIGRcCHHA.144@.TK2MSFTNGP02.phx.g
bl...
> Can anyone guide me on how to determine if a backup is a 2005 or 2000
> database. Is there some identifier bytes I can look at to determine the
> correct version.
> I have no problem writing a utility to scan a backup file for the correct
> info (if it is necessary)
> TIA
> Rob
>
database. Is there some identifier bytes I can look at to determine the
correct version.
I have no problem writing a utility to scan a backup file for the correct
info (if it is necessary)
TIA
RobOn my 2000 server:
restore headeronly
from disk = 'C:\Program Files\Microsoft SQL
Server\MSSQL$SQL2000\BACKUP\Northwind.bak'
results:
SoftwareVersionMajor = 8
SoftwareVersionMinor = 0
SoftwareVersionBuild = 2039
Same in 2005
Kevin Hill
3NF Consulting
http://www.3nf-inc.com/NewsGroups.htm
Real-world stuff I run across with SQL Server:
http://kevin3nf.blogspot.com
"Rob Diamant" <robdusi@.hotmail.com> wrote in message
news:u9vIGRcCHHA.144@.TK2MSFTNGP02.phx.gbl...
> Can anyone guide me on how to determine if a backup is a 2005 or 2000
> database. Is there some identifier bytes I can look at to determine the
> correct version.
> I have no problem writing a utility to scan a backup file for the correct
> info (if it is necessary)
> TIA
> Rob
>|||RESTORE HEADERONLY will give you such information. Check of the SoftwareVers
ionMajor column.
Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/default.asp
http://www.solidqualitylearning.com/
"Rob Diamant" <robdusi@.hotmail.com> wrote in message news:u9vIGRcCHHA.144@.TK2MSFTNGP02.phx.g
bl...
> Can anyone guide me on how to determine if a backup is a 2005 or 2000
> database. Is there some identifier bytes I can look at to determine the
> correct version.
> I have no problem writing a utility to scan a backup file for the correct
> info (if it is necessary)
> TIA
> Rob
>
Labels:
2000database,
backup,
backups,
bytes,
database,
determine,
guide,
identifier,
identify,
microsoft,
mysql,
oracle,
server,
sql,
thecorrect
How to identify 2005 vs 2000 backups
Can anyone guide me on how to determine if a backup is a 2005 or 2000
database. Is there some identifier bytes I can look at to determine the
correct version.
I have no problem writing a utility to scan a backup file for the correct
info (if it is necessary)
TIA
Rob
On my 2000 server:
restore headeronly
from disk = 'C:\Program Files\Microsoft SQL
Server\MSSQL$SQL2000\BACKUP\Northwind.bak'
results:
SoftwareVersionMajor = 8
SoftwareVersionMinor = 0
SoftwareVersionBuild = 2039
Same in 2005
Kevin Hill
3NF Consulting
http://www.3nf-inc.com/NewsGroups.htm
Real-world stuff I run across with SQL Server:
http://kevin3nf.blogspot.com
"Rob Diamant" <robdusi@.hotmail.com> wrote in message
news:u9vIGRcCHHA.144@.TK2MSFTNGP02.phx.gbl...
> Can anyone guide me on how to determine if a backup is a 2005 or 2000
> database. Is there some identifier bytes I can look at to determine the
> correct version.
> I have no problem writing a utility to scan a backup file for the correct
> info (if it is necessary)
> TIA
> Rob
>
database. Is there some identifier bytes I can look at to determine the
correct version.
I have no problem writing a utility to scan a backup file for the correct
info (if it is necessary)
TIA
Rob
On my 2000 server:
restore headeronly
from disk = 'C:\Program Files\Microsoft SQL
Server\MSSQL$SQL2000\BACKUP\Northwind.bak'
results:
SoftwareVersionMajor = 8
SoftwareVersionMinor = 0
SoftwareVersionBuild = 2039
Same in 2005
Kevin Hill
3NF Consulting
http://www.3nf-inc.com/NewsGroups.htm
Real-world stuff I run across with SQL Server:
http://kevin3nf.blogspot.com
"Rob Diamant" <robdusi@.hotmail.com> wrote in message
news:u9vIGRcCHHA.144@.TK2MSFTNGP02.phx.gbl...
> Can anyone guide me on how to determine if a backup is a 2005 or 2000
> database. Is there some identifier bytes I can look at to determine the
> correct version.
> I have no problem writing a utility to scan a backup file for the correct
> info (if it is necessary)
> TIA
> Rob
>
Labels:
2000database,
backup,
backups,
bytes,
database,
determine,
guide,
identifier,
identify,
microsoft,
mysql,
oracle,
server,
sql,
thecorrect
Subscribe to:
Posts (Atom)