Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
-- 1. Create the blank database in SQL 2000
-- 2. In SQL 2000, create the table in the database created in step 1
CREATE TABLE [dbo].[ChromValidationValues](
[Product] [nchar](100) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[SKU] [varchar](100) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[LotNumber] [nchar](100) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[Date] [datetime] NOT NULL,
[Component] [varchar](100) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[ConversionFactor] [numeric](18, 3) NOT NULL,
[TheoreticalValue] [numeric](18, 4) NOT NULL,
CONSTRAINT [PK_ChromValidatonValues] PRIMARY KEY CLUSTERED
(
[SKU] ASC,
[Date] ASC,
[Component] ASC
)
) ON [PRIMARY]
GO
-- 3. In SQL 2005, link the SQL 2000 server so we can execute commands on it
-- (cr27972-a is the SQL 2000 server)
USE master;
GO
EXEC sp_addlinkedserver
'cr27972-a',
N'SQL Server'
GO
-- 4. Copy data from the 2005 to the 2000 server (CR27972-A\SQL2005 is the 2005 server)
INSERT INTO [cr27972-a].[Invitrogen_Validation].[dbo].[ChromValidationValues]
SELECT * FROM [CR27972-A\SQL2005].[Invitrogen_Validation].[dbo].[ChromValidationValues]