Person.sql 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. /*
  2. Navicat SQL Server Data Transfer
  3. Source Server : 9000
  4. Source Server Version : 105000
  5. Source Host : .\sqlexpress:1433
  6. Source Database : LHBMS
  7. Source Schema : dbo
  8. Target Server Type : SQL Server
  9. Target Server Version : 105000
  10. File Encoding : 65001
  11. Date: 2021-05-11 15:33:53
  12. */
  13. -- ----------------------------
  14. -- Table structure for Person
  15. -- ----------------------------
  16. DROP TABLE [dbo].[Person]
  17. GO
  18. CREATE TABLE [dbo].[Person] (
  19. [ID] uniqueidentifier NOT NULL ,
  20. [Name] nvarchar(50) NOT NULL ,
  21. [Address] nvarchar(100) NULL ,
  22. [Telphone] nvarchar(30) NULL ,
  23. [IsValid] tinyint NULL ,
  24. [RegDate] datetime NULL ,
  25. [Remark] nvarchar(50) NULL
  26. )
  27. GO
  28. -- ----------------------------
  29. -- Records of Person
  30. -- ----------------------------
  31. INSERT INTO [dbo].[Person] ([ID], [Name], [Address], [Telphone], [IsValid], [RegDate], [Remark]) VALUES (N'3E1EEC51-959E-4BFE-954E-2F9B327E7BA8', N'李四', N'深圳南山', N'13800138001', N'1', N'2016-03-21 17:42:04.353', null)
  32. GO
  33. GO
  34. INSERT INTO [dbo].[Person] ([ID], [Name], [Address], [Telphone], [IsValid], [RegDate], [Remark]) VALUES (N'BBF023E6-9975-4071-92F9-A55B1C254E15', N'小陈', N'深圳南山', N'13800138001', N'1', N'2016-03-25 09:24:29.587', null)
  35. GO
  36. GO
  37. -- ----------------------------
  38. -- Indexes structure for table Person
  39. -- ----------------------------
  40. -- ----------------------------
  41. -- Primary Key structure for table Person
  42. -- ----------------------------
  43. ALTER TABLE [dbo].[Person] ADD PRIMARY KEY ([ID])
  44. GO