Home : Products : Hach WIMS : Interfaces : Hach WIMS Direct Server-Side Interface to Custom Q12827 LIMS : Documentation : Introduction : Source versions tested
Q12830 - INFO: Source versions tested

The Hach WIMS Direct Server-Side Interface to Custom Q12827 LIMS was tested against a database table received from the customer. The table structure and sample data look like the following:

After the LIMS_DATA is imported, and if configured, it will copy the data points to the LIMS_DATA_DONE table and delete LIMS_DATA data points.

This is the SQL to create LIMS_DATA table:

USE [LIMS_EXCHANGE]
GO

/****** Object: Table [dbo].[LIMS_DATA] Script Date: 01/20/2010 12:29:28 ******/

SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
SET ANSI_PADDING ON
GO
CREATE TABLE [dbo].[LIMS_DATA](
[EXCHANGE_SID] [numeric](18, 0) IDENTITY(1,1) NOT NULL,
[SAMPLE_SID] [numeric](8, 0) NOT NULL,
[SOURCE_CODE_SID] [numeric](9, 0) NOT NULL,
[SITE_SEQ_NUM] [numeric](4, 0) NOT NULL,
[COLLECTION_DATE] [datetime] NOT NULL,
[COLLECTION_TIME] [datetime] NULL,
[OP_SID] [numeric](9, 0) NOT NULL,
[RESULT_REPORT] [varchar](50) NULL,
[UNIT_OF_MEASURE_SID] [numeric](9, 0) NOT NULL,
CONSTRAINT [PK_LIMS_DATA] PRIMARY KEY CLUSTERED
(
[EXCHANGE_SID] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON, FILLFACTOR = 90) ON [PRIMARY]
) ON [PRIMARY]

GO
SET ANSI_PADDING OFF

 

 

This is the SQL to create LIMS_DATA_DONE table:

USE [LIMS_EXCHANGE]
GO

/****** Object: Table [dbo].[LIMS_DATA_DONE] Script Date: 01/20/2010 12:31:35 ******/

SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
SET ANSI_PADDING ON
GO
CREATE TABLE [dbo].[LIMS_DATA_DONE](
[EXCHANGE_SID] [numeric](18, 0) NOT NULL,
[SAMPLE_SID] [numeric](8, 0) NOT NULL,
[SOURCE_CODE_SID] [numeric](9, 0) NOT NULL,
[SITE_SEQ_NUM] [numeric](4, 0) NOT NULL,
[COLLECTION_DATE] [datetime] NOT NULL,
[COLLECTION_TIME] [datetime] NULL,
[OP_SID] [numeric](9, 0) NOT NULL,
[RESULT_REPORT] [varchar](50) NULL,
[UNIT_OF_MEASURE_SID] [numeric](9, 0) NOT NULL,
CONSTRAINT [PK_LIMS_DATA_DONE] PRIMARY KEY CLUSTERED
(
[EXCHANGE_SID] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON, FILLFACTOR = 90) ON [PRIMARY]
) ON [PRIMARY]
GO
SET ANSI_PADDING OFF

 

Related Articles
No Related Articles Available.

Article Attachments
No Attachments Available.

Related External Links
No Related Links Available.
Help us improve this article...
What did you think of this article?

poor 
1
2
3
4
5
6
7
8
9
10

 excellent
Tell us why you rated the content this way. (optional)
 
Approved Comments...
No user comments available for this article.
Created on 1/15/2010 9:38 AM.
Last Modified on 1/20/2010 12:36 PM.
Last Modified by No Author Name Available!.
Article has been viewed 2470 times.
Rated 1 out of 10 based on 1 vote.
Print Article
Email Article