什么是数字的最佳数据

时间:2018-06-24 07:23:12

标签: sql-server

早上好,SQL Server中用于数字的最佳数据类型是什么

1 个答案:

答案 0 :(得分:0)

在此处测试您的数据类型

https://www.tutorialspoint.com/execute_sql_online.php

运行下面的t-sql以获取如下所示的更多数据类型

BEGIN TRANSACTION;

/* Create a table called NAMES */
CREATE TABLE [Customer]
(
  [CustomerKey] [int] IDENTITY(1,1) NOT NULL,

  [Test_Number] [varchar](50) NULL

);

insert into Customer values (1,"25/08/2018");
insert into Customer values (2,15:06:59);
insert into Customer values (3,25.01);
insert into Customer values (4,"GL45R-2");


select * from Customer