LorusDemon
Öğrenci
- Katılım
- 3 Ağustos 2012
- Mesajlar
- 23
- Reaksiyon puanı
- 0
- Puanları
- 0
evt arkadaslar bı abımızden bu otomasyon programını aldım aynısı olmasada bıraz benzerını yapmak ıstıyorum fakat sql 2005 kullanmadıgım ıcın pek cozemedım sızce bunun en kolay yontemlerı nelerdır
CREATE DATABASE [bayi]
USE [bayi]
GO
/****** Object: Table [dbo].[BAYI] Script Date: 08/01/2012 12:58:18 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[BAYI](
[ID] [int] IDENTITY(1,1) NOT NULL,
[BAYI_KODU] [int] NULL,
[BAYI_ADI] [nvarchar](50) NULL,
[TELEFON] [nvarchar](50) NULL,
[IS_TELEFON] [nvarchar](50) NULL,
[FAX] [nvarchar](50) NULL,
[E_MAIL] [nvarchar](50) NULL,
[ADRES] [nvarchar](50) NULL,
CONSTRAINT [PK_BAYI] PRIMARY KEY CLUSTERED
(
[ID] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
GO
USE [bayi]
GO
/****** Object: Table [dbo].[FATURA_BASLIK] Script Date: 08/01/2012 12:58:30 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[FATURA_BASLIK](
[ID] [int] IDENTITY(1,1) NOT NULL,
[BAYI_KODU] [nvarchar](50) NULL,
[BAYI_ADI] [nvarchar](50) NULL,
[TARIH] [nvarchar](50) NULL,
[EVRAK_TOPLAM] [nvarchar](50) NULL,
CONSTRAINT [PK_FATURA_BASLIK] PRIMARY KEY CLUSTERED
(
[ID] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
GO
USE [bayi]
GO
/****** Object: Table [dbo].[FATURA_BASLIK_LISTE] Script Date: 08/01/2012 12:58:44 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[FATURA_BASLIK_LISTE](
[ID] [int] IDENTITY(1,1) NOT NULL,
[BAYI_KODU] [nvarchar](50) NULL,
[BAYI_ADI] [nvarchar](50) NULL,
[TARIH] [nvarchar](50) NULL,
[EVRAK_TOPLAM] [nvarchar](50) NULL,
[URUN_KODU] [nvarchar](50) NULL,
[URUN_ADI] [nvarchar](50) NULL,
[FIYAT] [nvarchar](50) NULL,
[INDIRIM] [nvarchar](50) NULL,
[ADET] [nvarchar](50) NULL,
CONSTRAINT [PK_FATURA_SIPARIS_BASLIK] PRIMARY KEY CLUSTERED
(
[ID] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
GO
USE [bayi]
GO
/****** Object: Table [dbo].[FATURA_LISTE] Script Date: 08/01/2012 12:58:58 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[FATURA_LISTE](
[ID] [int] IDENTITY(1,1) NOT NULL,
[URUN_KODU] [nvarchar](50) NULL,
[URUN_ADI] [nvarchar](50) NULL,
[FIYAT] [money] NULL,
[INDIRIM] [nvarchar](50) NULL,
[ADET] [nvarchar](50) NULL,
CONSTRAINT [PK_FATURA_LISTE] PRIMARY KEY CLUSTERED
(
[ID] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
GO
USE [bayi]
GO
/****** Object: Table [dbo].[FIYAT_SABLONU] Script Date: 08/01/2012 12:59:09 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[FIYAT_SABLONU](
[ID] [int] IDENTITY(1,1) NOT NULL,
[URUN_KODU] [int] NOT NULL,
[URUN_ADI] [nvarchar](50) NULL,
[URUN_GRUBU] [nvarchar](50) NULL,
[FIYAT] [money] NOT NULL,
CONSTRAINT [PK_FIYAT_SABLONU] PRIMARY KEY CLUSTERED
(
[ID] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
GO
USE [bayi]
GO
/****** Object: Table [dbo].[INDIRIM] Script Date: 08/01/2012 12:59:18 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[INDIRIM](
[ID] [int] IDENTITY(1,1) NOT NULL,
[URUN_KODU] [int] NULL,
[URUN_ADI] [nvarchar](50) NULL,
[URUN_GRUBU] [nvarchar](50) NULL,
[BAYI_KODU] [nvarchar](50) NULL,
[BAYI_ADI] [nvarchar](50) NULL,
[INDIRIM_ORANI] [nvarchar](50) NULL,
[ACIKLAMA] [nvarchar](50) NULL,
CONSTRAINT [PK_INDIRIM] PRIMARY KEY CLUSTERED
(
[ID] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
GO
USE [bayi]
GO
/****** Object: Table [dbo].[KULLANICILAR] Script Date: 08/01/2012 12:59:28 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[KULLANICILAR](
[ADI_SOYADI] [nvarchar](max) NULL,
[KULLANICI_ADI] [nvarchar](50) NOT NULL,
[PAROLA] [nvarchar](50) NULL,
[ACIKLAMA] [nvarchar](50) NULL,
[ADRES] [nvarchar](50) NULL,
[TEL] [int] NULL,
[IS_TEL] [int] NULL,
CONSTRAINT [PK_KULLANICILAR] PRIMARY KEY CLUSTERED
(
[KULLANICI_ADI] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
GO
USE [bayi]
GO
/****** Object: Table [dbo].[SIPARIS_BASLIK] Script Date: 08/01/2012 12:59:37 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[SIPARIS_BASLIK](
[ID] [int] IDENTITY(1,1) NOT NULL,
[BAYI_KODU] [nvarchar](50) NULL,
[BAYI_ADI] [nvarchar](50) NULL,
[TARIH] [nvarchar](50) NULL,
[EVRAK_TOPLAM] [nvarchar](50) NULL,
CONSTRAINT [PK_SIPARIS_BASLIK] PRIMARY KEY CLUSTERED
(
[ID] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
GO
USE [bayi]
GO
/****** Object: Table [dbo].[SIPARIS_BASLIK_LISTE] Script Date: 08/01/2012 12:59:44 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[SIPARIS_BASLIK_LISTE](
[ID] [int] IDENTITY(1,1) NOT NULL,
[BAYI_KODU] [nvarchar](50) NULL,
[BAYI_ADI] [nvarchar](50) NULL,
[TARIH] [nvarchar](50) NULL,
[EVRAK_TOPLAM] [nvarchar](50) NULL,
[URUN_KODU] [nvarchar](50) NULL,
[URUN_ADI] [nvarchar](50) NULL,
[FIYAT] [nvarchar](50) NULL,
[INDIRIM] [nvarchar](50) NULL,
[ADET] [nvarchar](50) NULL,
[SATILDI] [int] NULL,
CONSTRAINT [PK_SIPARIS_BASLIK_LISTE] PRIMARY KEY CLUSTERED
(
[ID] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
GO
EXEC sys.sp_addextendedproperty @Name=N'MS_Description', @value=N'' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'SIPARIS_BASLIK_LISTE', @level2type=N'COLUMN',@level2name=N'SATILDI'
GO
USE [bayi]
GO
/****** Object: Table [dbo].[SIPARIS_LISTE] Script Date: 08/01/2012 12:59:55 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[SIPARIS_LISTE](
[ID] [int] IDENTITY(1,1) NOT NULL,
[URUN_KODU] [int] NOT NULL,
[URUN_ADI] [nvarchar](50) NULL,
[URUN_GRUBU] [nvarchar](50) NULL,
[BAYI_KODU] [int] NULL,
[BAYI_ADI] [nvarchar](50) NULL,
[ADET] [int] NULL,
[FIYAT] [nvarchar](50) NULL,
[INDIRIM] [nvarchar](50) NULL,
[ACIKLAMA] [nvarchar](50) NULL,
[TOPLAM_FIYAT] [nvarchar](50) NULL,
CONSTRAINT [PK_SIPARIS_LISTE] PRIMARY KEY CLUSTERED
(
[ID] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
GO
USE [bayi]
GO
/****** Object: Table [dbo].[SIPARIS_LISTE2] Script Date: 08/01/2012 13:00:06 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[SIPARIS_LISTE2](
[ID] [int] IDENTITY(1,1) NOT NULL,
[URUN_KODU] [nvarchar](50) NULL,
[URUN_ADI] [nvarchar](50) NULL,
[FIYAT] [money] NULL,
[INDIRIM] [nvarchar](50) NULL,
[ADET] [nvarchar](50) NULL,
CONSTRAINT [PK_SIPARIS_LISTE2] PRIMARY KEY CLUSTERED
(
[ID] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
GO
USE [bayi]
GO
/****** Object: Table [dbo].[SIPARISLER] Script Date: 08/01/2012 13:00:15 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[SIPARISLER](
[URUN_NO] [int] NOT NULL,
[URUN_GRUBU] [nvarchar](50) NULL,
[URUN_ADI] [nvarchar](50) NULL,
[TARIH] [nvarchar](50) NULL,
[FIYAT] [money] NULL,
[ACIKLAMA] [nvarchar](50) NULL,
[BAYI_ADI] [nvarchar](50) NULL,
[BAYI_KODU] [int] NULL,
CONSTRAINT [PK_SIPARISLER] PRIMARY KEY CLUSTERED
(
[URUN_NO] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
GO
EXEC sys.sp_addextendedproperty @Name=N'MS_Description', @value=N'' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'SIPARISLER', @level2type=N'COLUMN',@level2name=N'TARIH'
GO
USE [bayi]
GO
/****** Object: Table [dbo].[URUNLER] Script Date: 08/01/2012 13:00:28 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[URUNLER](
[ID] [int] IDENTITY(1,1) NOT NULL,
[URUN_KODU] [int] NOT NULL,
[URUN_ADI] [nvarchar](50) NULL,
[URUN_GRUBU] [nvarchar](50) NULL,
[URUN_MARKA] [nvarchar](50) NULL,
[URUN_MODEL] [nvarchar](50) NULL,
[ACIKLAMA] [nvarchar](50) NULL,
CONSTRAINT [PK_URUNLER] PRIMARY KEY CLUSTERED
(
[ID] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
GO
CREATE DATABASE [bayi]
USE [bayi]
GO
/****** Object: Table [dbo].[BAYI] Script Date: 08/01/2012 12:58:18 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[BAYI](
[ID] [int] IDENTITY(1,1) NOT NULL,
[BAYI_KODU] [int] NULL,
[BAYI_ADI] [nvarchar](50) NULL,
[TELEFON] [nvarchar](50) NULL,
[IS_TELEFON] [nvarchar](50) NULL,
[FAX] [nvarchar](50) NULL,
[E_MAIL] [nvarchar](50) NULL,
[ADRES] [nvarchar](50) NULL,
CONSTRAINT [PK_BAYI] PRIMARY KEY CLUSTERED
(
[ID] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
GO
USE [bayi]
GO
/****** Object: Table [dbo].[FATURA_BASLIK] Script Date: 08/01/2012 12:58:30 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[FATURA_BASLIK](
[ID] [int] IDENTITY(1,1) NOT NULL,
[BAYI_KODU] [nvarchar](50) NULL,
[BAYI_ADI] [nvarchar](50) NULL,
[TARIH] [nvarchar](50) NULL,
[EVRAK_TOPLAM] [nvarchar](50) NULL,
CONSTRAINT [PK_FATURA_BASLIK] PRIMARY KEY CLUSTERED
(
[ID] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
GO
USE [bayi]
GO
/****** Object: Table [dbo].[FATURA_BASLIK_LISTE] Script Date: 08/01/2012 12:58:44 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[FATURA_BASLIK_LISTE](
[ID] [int] IDENTITY(1,1) NOT NULL,
[BAYI_KODU] [nvarchar](50) NULL,
[BAYI_ADI] [nvarchar](50) NULL,
[TARIH] [nvarchar](50) NULL,
[EVRAK_TOPLAM] [nvarchar](50) NULL,
[URUN_KODU] [nvarchar](50) NULL,
[URUN_ADI] [nvarchar](50) NULL,
[FIYAT] [nvarchar](50) NULL,
[INDIRIM] [nvarchar](50) NULL,
[ADET] [nvarchar](50) NULL,
CONSTRAINT [PK_FATURA_SIPARIS_BASLIK] PRIMARY KEY CLUSTERED
(
[ID] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
GO
USE [bayi]
GO
/****** Object: Table [dbo].[FATURA_LISTE] Script Date: 08/01/2012 12:58:58 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[FATURA_LISTE](
[ID] [int] IDENTITY(1,1) NOT NULL,
[URUN_KODU] [nvarchar](50) NULL,
[URUN_ADI] [nvarchar](50) NULL,
[FIYAT] [money] NULL,
[INDIRIM] [nvarchar](50) NULL,
[ADET] [nvarchar](50) NULL,
CONSTRAINT [PK_FATURA_LISTE] PRIMARY KEY CLUSTERED
(
[ID] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
GO
USE [bayi]
GO
/****** Object: Table [dbo].[FIYAT_SABLONU] Script Date: 08/01/2012 12:59:09 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[FIYAT_SABLONU](
[ID] [int] IDENTITY(1,1) NOT NULL,
[URUN_KODU] [int] NOT NULL,
[URUN_ADI] [nvarchar](50) NULL,
[URUN_GRUBU] [nvarchar](50) NULL,
[FIYAT] [money] NOT NULL,
CONSTRAINT [PK_FIYAT_SABLONU] PRIMARY KEY CLUSTERED
(
[ID] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
GO
USE [bayi]
GO
/****** Object: Table [dbo].[INDIRIM] Script Date: 08/01/2012 12:59:18 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[INDIRIM](
[ID] [int] IDENTITY(1,1) NOT NULL,
[URUN_KODU] [int] NULL,
[URUN_ADI] [nvarchar](50) NULL,
[URUN_GRUBU] [nvarchar](50) NULL,
[BAYI_KODU] [nvarchar](50) NULL,
[BAYI_ADI] [nvarchar](50) NULL,
[INDIRIM_ORANI] [nvarchar](50) NULL,
[ACIKLAMA] [nvarchar](50) NULL,
CONSTRAINT [PK_INDIRIM] PRIMARY KEY CLUSTERED
(
[ID] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
GO
USE [bayi]
GO
/****** Object: Table [dbo].[KULLANICILAR] Script Date: 08/01/2012 12:59:28 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[KULLANICILAR](
[ADI_SOYADI] [nvarchar](max) NULL,
[KULLANICI_ADI] [nvarchar](50) NOT NULL,
[PAROLA] [nvarchar](50) NULL,
[ACIKLAMA] [nvarchar](50) NULL,
[ADRES] [nvarchar](50) NULL,
[TEL] [int] NULL,
[IS_TEL] [int] NULL,
CONSTRAINT [PK_KULLANICILAR] PRIMARY KEY CLUSTERED
(
[KULLANICI_ADI] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
GO
USE [bayi]
GO
/****** Object: Table [dbo].[SIPARIS_BASLIK] Script Date: 08/01/2012 12:59:37 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[SIPARIS_BASLIK](
[ID] [int] IDENTITY(1,1) NOT NULL,
[BAYI_KODU] [nvarchar](50) NULL,
[BAYI_ADI] [nvarchar](50) NULL,
[TARIH] [nvarchar](50) NULL,
[EVRAK_TOPLAM] [nvarchar](50) NULL,
CONSTRAINT [PK_SIPARIS_BASLIK] PRIMARY KEY CLUSTERED
(
[ID] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
GO
USE [bayi]
GO
/****** Object: Table [dbo].[SIPARIS_BASLIK_LISTE] Script Date: 08/01/2012 12:59:44 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[SIPARIS_BASLIK_LISTE](
[ID] [int] IDENTITY(1,1) NOT NULL,
[BAYI_KODU] [nvarchar](50) NULL,
[BAYI_ADI] [nvarchar](50) NULL,
[TARIH] [nvarchar](50) NULL,
[EVRAK_TOPLAM] [nvarchar](50) NULL,
[URUN_KODU] [nvarchar](50) NULL,
[URUN_ADI] [nvarchar](50) NULL,
[FIYAT] [nvarchar](50) NULL,
[INDIRIM] [nvarchar](50) NULL,
[ADET] [nvarchar](50) NULL,
[SATILDI] [int] NULL,
CONSTRAINT [PK_SIPARIS_BASLIK_LISTE] PRIMARY KEY CLUSTERED
(
[ID] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
GO
EXEC sys.sp_addextendedproperty @Name=N'MS_Description', @value=N'' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'SIPARIS_BASLIK_LISTE', @level2type=N'COLUMN',@level2name=N'SATILDI'
GO
USE [bayi]
GO
/****** Object: Table [dbo].[SIPARIS_LISTE] Script Date: 08/01/2012 12:59:55 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[SIPARIS_LISTE](
[ID] [int] IDENTITY(1,1) NOT NULL,
[URUN_KODU] [int] NOT NULL,
[URUN_ADI] [nvarchar](50) NULL,
[URUN_GRUBU] [nvarchar](50) NULL,
[BAYI_KODU] [int] NULL,
[BAYI_ADI] [nvarchar](50) NULL,
[ADET] [int] NULL,
[FIYAT] [nvarchar](50) NULL,
[INDIRIM] [nvarchar](50) NULL,
[ACIKLAMA] [nvarchar](50) NULL,
[TOPLAM_FIYAT] [nvarchar](50) NULL,
CONSTRAINT [PK_SIPARIS_LISTE] PRIMARY KEY CLUSTERED
(
[ID] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
GO
USE [bayi]
GO
/****** Object: Table [dbo].[SIPARIS_LISTE2] Script Date: 08/01/2012 13:00:06 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[SIPARIS_LISTE2](
[ID] [int] IDENTITY(1,1) NOT NULL,
[URUN_KODU] [nvarchar](50) NULL,
[URUN_ADI] [nvarchar](50) NULL,
[FIYAT] [money] NULL,
[INDIRIM] [nvarchar](50) NULL,
[ADET] [nvarchar](50) NULL,
CONSTRAINT [PK_SIPARIS_LISTE2] PRIMARY KEY CLUSTERED
(
[ID] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
GO
USE [bayi]
GO
/****** Object: Table [dbo].[SIPARISLER] Script Date: 08/01/2012 13:00:15 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[SIPARISLER](
[URUN_NO] [int] NOT NULL,
[URUN_GRUBU] [nvarchar](50) NULL,
[URUN_ADI] [nvarchar](50) NULL,
[TARIH] [nvarchar](50) NULL,
[FIYAT] [money] NULL,
[ACIKLAMA] [nvarchar](50) NULL,
[BAYI_ADI] [nvarchar](50) NULL,
[BAYI_KODU] [int] NULL,
CONSTRAINT [PK_SIPARISLER] PRIMARY KEY CLUSTERED
(
[URUN_NO] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
GO
EXEC sys.sp_addextendedproperty @Name=N'MS_Description', @value=N'' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'SIPARISLER', @level2type=N'COLUMN',@level2name=N'TARIH'
GO
USE [bayi]
GO
/****** Object: Table [dbo].[URUNLER] Script Date: 08/01/2012 13:00:28 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[URUNLER](
[ID] [int] IDENTITY(1,1) NOT NULL,
[URUN_KODU] [int] NOT NULL,
[URUN_ADI] [nvarchar](50) NULL,
[URUN_GRUBU] [nvarchar](50) NULL,
[URUN_MARKA] [nvarchar](50) NULL,
[URUN_MODEL] [nvarchar](50) NULL,
[ACIKLAMA] [nvarchar](50) NULL,
CONSTRAINT [PK_URUNLER] PRIMARY KEY CLUSTERED
(
[ID] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
GO