Mr.Azim
This is table structure and database
Pls advice me.
Thank you
Maideen
CREATE TABLE [dbo].[Z_tbl_Circulation_Head](
[id] [bigint] IDENTITY(1,1) NOT NULL,
[member] [nvarchar](50) NULL,
[language] [nvarchar](30) NULL,
[type] [nvarchar](10) NULL,
[PlatForm] [nvarchar](50) NULL,
[category] [nvarchar](20) NULL,
[MainArea] [nvarchar](50) NULL,
[Remarks] [nvarchar](500) NULL,
[AVGIssue_Paid] [numeric](18, 0) NULL,
[MY] [nvarchar](50) NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[Z_tbl_Circulation_Head] ADD CONSTRAINT [DF_Z_tbl_Circulation_Head_Type] DEFAULT (N'Paid') FOR [type]
GO
ALTER TABLE [dbo].[Z_tbl_Circulation_Head] ADD CONSTRAINT [DF_Z_tbl_Circulation_Head_Category] DEFAULT (N'NewsPaper') FOR [category]
GO
Data
GO
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE PROCEDURE [dbo].[Z_usp_Insert_data]
AS
BEGIN
SET NOCOUNT ON;
-- NEWSPAPER
INSERT INTO [dbo].[Z_tbl_Circulation_Head]([member],[language],[type],[PlatForm],[category],[MainArea],[Remarks],[AVGIssue_Paid],[MY])
VALUES ('Utusan Malaysia','Bahasa Malaysia','Newspaper','Print','Paid','Peninsular Malaysia','remark','181356','JUN-2012')
INSERT INTO [dbo].[Z_tbl_Circulation_Head]([member],[language],[type],[PlatForm],[category],[MainArea],[Remarks],[AVGIssue_Paid],[MY])
VALUES ('Minggunan Malaysia','Bahasa Malaysia','Newspaper','Print','Paid','Peninsular Malaysia','remark','82471','JUN-2012')
INSERT INTO [dbo].[Z_tbl_Circulation_Head]([member],[language],[type],[PlatForm],[category],[MainArea],[Remarks],[AVGIssue_Paid],[MY])
VALUES ('Berita Harian','Bahasa Malaysia','Newspaper','Print','Paid','Peninsular Malaysia','remark','15247','JUN-2012')
INSERT INTO [dbo].[Z_tbl_Circulation_Head]([member],[language],[type],[PlatForm],[category],[MainArea],[Remarks],[AVGIssue_Paid],[MY])
VALUES ('The Star','English','Newspaper','Print','Paid','Peninsular Malaysia','remark','54123','JUN-2012')
INSERT INTO [dbo].[Z_tbl_Circulation_Head]([member],[language],[type],[PlatForm],[category],[MainArea],[Remarks],[AVGIssue_Paid],[MY])
VALUES ('The Edge','English','Newspaper','Print','Paid','Peninsular Malaysia','remark','92123','JUN-2012')
INSERT INTO [dbo].[Z_tbl_Circulation_Head]([member],[language],[type],[PlatForm],[category],[MainArea],[Remarks],[AVGIssue_Paid],[MY])
VALUES ('Sin Chew - Day','Chinese','Newspaper','Print','Paid','Peninsular Malaysia','remark','721323','JUN-2012')
INSERT INTO [dbo].[Z_tbl_Circulation_Head]([member],[language],[type],[PlatForm],[category],[MainArea],[Remarks],[AVGIssue_Paid],[MY])
VALUES ('Guang Ming - Night','Chinese','Newspaper','Print','Paid','Peninsular Malaysia','remark','58423','JUN-2012')
INSERT INTO [dbo].[Z_tbl_Circulation_Head]([member],[language],[type],[PlatForm],[category],[MainArea],[Remarks],[AVGIssue_Paid],[MY])
VALUES ('Utusan Malaysia','Bahasa Malaysia','Newspaper','Print','Paid','Peninsular Malaysia','remark','11356','DEC-2012')
INSERT INTO [dbo].[Z_tbl_Circulation_Head]([member],[language],[type],[PlatForm],[category],[MainArea],[Remarks],[AVGIssue_Paid],[MY])
VALUES ('Minggunan Malaysia','Bahasa Malaysia','Newspaper','Print','Paid','Peninsular Malaysia','remark','91471','DEC-2012')
INSERT INTO [dbo].[Z_tbl_Circulation_Head]([member],[language],[type],[PlatForm],[category],[MainArea],[Remarks],[AVGIssue_Paid],[MY])
VALUES ('Berita Harian','Bahasa Malaysia','Newspaper','Print','Paid','Peninsular Malaysia','remark','914247','DEC-2012')
INSERT INTO [dbo].[Z_tbl_Circulation_Head]([member],[language],[type],[PlatForm],[category],[MainArea],[Remarks],[AVGIssue_Paid],[MY])
VALUES ('The Star','English','Newspaper','Print','Paid','Peninsular Malaysia','remark','87123','DEC-2012')
INSERT INTO [dbo].[Z_tbl_Circulation_Head]([member],[language],[type],[PlatForm],[category],[MainArea],[Remarks],[AVGIssue_Paid],[MY])
VALUES ('The Edge','English','Newspaper','Print','Paid','Peninsular Malaysia','remark','34823','DEC-2012')
INSERT INTO [dbo].[Z_tbl_Circulation_Head]([member],[language],[type],[PlatForm],[category],[MainArea],[Remarks],[AVGIssue_Paid],[MY])
VALUES ('Sin Chew - Day','Chinese','Newspaper','Print','Paid','Peninsular Malaysia','remark','7223','DEC-2012')
INSERT INTO [dbo].[Z_tbl_Circulation_Head]([member],[language],[type],[PlatForm],[category],[MainArea],[Remarks],[AVGIssue_Paid],[MY])
VALUES ('Guang Ming - Night','Chinese','Newspaper','Print','Paid','Peninsular Malaysia','remark','81423','DEC-2012')
END