tSQLt 数据库的单元测试框架

常见的数据库测试工具有哪些? 定义你对数据的“期望”(例如,字段不能为空、值在某个范围内、表行数在某个阈值),然后自动验证数据是否满足这些期望。:模拟TPC-C(在线事务处理)和TPC-H(决策支持)等标准负载,测试数据库的TPS(每秒事务数)和延时。:模拟大量并发用户执行不同的SQL语句(查询、插入、更新),观察数据库的响应时间和吞吐量。等库,可以灵活地编写任何类型的数据库测试,从简单的SQL查询验证到复杂的数据流测试。:在不阻塞线上读写的情况下,自动在主库创建校验和,并从从库读取校验和进行比对。 阅读详情

单元测试在软件开发中很常见, 其特点是不侵入现有代码但能和现有代码融为一体,覆盖到每一个功能单元.

在数据库领域好的测试框架非常少见, tSQLt正是为数不多的其中之一. tSQLt 继承了单元测试的理念, 比如平时我们要测试数据库的时候, 数据库的表往往有很多外键关联, 如果要为测试添加测试数据, 就必须加入很多不必要的数据以满足外键关联或者把外键去掉, 很不方便. tSQLt提供一个FakeTable的存储过程, 可以创建一个不带外键和constraint的假表, 但表结构和名字与原表一致(原表在测试过程中会被重命名, 测试跑完会恢复名字), 用于测试.

tSQLt还提供了很多Assert开头的存储过程:


用于各种类型的比较. 比如要比较两个表的内容是否一致, 可以用AssertEqualsTable, 值得一提的是, tSQLt会根据列名来比较, 被比较的两表的列的顺序可以不一样, 甚至列的类型也可以不同, 比如 Bigint 和 int 在测试中可以比较, 只要数值一样就算Equal.

0. 使用 NewTestClass创建一个新的schema, schema就想当于编程语言单元测试里的class, 后续的具体测试的SP可以归于这个schema, tSQLt会自动为这个schema添加一个external property表名它代表一类测试.可以在一个view([tSQLt].[TestClasses])里查看 .

exec tSQLt.NewTestClass 'testclass'

1. 新建一个存储过程, 在这个存储过程中按需调用 FakeTable 和 Assert系列的SP 来定义 test case, 例如:

create procedure testclass.test1 as 
begin
EXEC tSQLt.AssertEqualsTable 'tb1', 'tb2'
end;

2. 然后使用 tSQLt.Run 这个SP 来执行比较, tSQLt.Run可以指明要跑的test case的SP名字(schema.spname), 也可以通过要跑的test cases的schema名字来批量运行. 结果会输出到 [tSQLt].[TestResult] 这表. 此外还有一个 tSQLt.RunAll 来跑所有cases.


在底层, tSQLt 会调用一个CLR dll 的assembly来比较, 可以在tSQLt的安装脚本里找到如下一句:

CREATE ASSEMBLY [tSQLtCLR] AUTHORIZATION [dbo] FROM 0x4D5A90000300000004000000FFFF0000B800000000000000400000000000000000000000000000000000000000000000000.....
其实就是把dll的编码直接用SQL语句注入到sqlserver了, 为了使用CLR的assembly, 必须开启CLR支持功能

EXEC sp_configure 'clr enabled', 1;
最后所有的test case 都会在事务里执行, tSQLt 巧妙地利用了事务的回滚 做到测试完成后, 一点痕迹都不留下.


附录官网的英文教程:

TSQLT TUTORIAL

Welcome to tSQLt, a unit testing framework for the T-SQL language for Microsoft SQL Server 2005 and beyond. tSQLt takes database unit testing a step further by providing methods to help isolate functionality to be tested. Before diving in to the isolation features, however, let’s start with a simple example.

Example 1: AssertEquals
Suppose we are writing a function which calculates the result of a currency exchange. Our function will take two parameters, the amount to be exchanged and the exchange rate. Our test is as follows:

EXEC tSQLt.NewTestClass 'testFinancialApp';
GO

CREATE PROCEDURE testFinancialApp.[test that ConvertCurrency converts using given conversion rate]
AS
BEGIN
    DECLARE @actual MONEY;
    DECLARE @rate DECIMAL(10,4); SET @rate = 1.2;
    DECLARE @amount MONEY; SET @amount = 2.00;

    SELECT @actual = FinancialApp.ConvertCurrency(@rate, @amount);

    DECLARE @expected MONEY; SET @expected = 2.4;   --(rate * amount)
    EXEC tSQLt.AssertEquals @expected, @actual;

END;
GO

Note, that we first use tSQLt.NewTestClass to create a new schema for our test cases. This allows us to organize our tests and execute them as a group, which we will call a test class. A test class can be executed as follows:

EXEC tSQLt.Run 'testFinancialApp';

Our test procedure calls the ConvertCurrency procedure (in the FinancialApp schema), passing the exchange rate and amount. The return value is retrieved and compared against the expected value in the tSQLt.AssertEquals method.

Example 2: FakeTable

Suppose we want to test a procedure that reads data from a table. We need to put data in this table to properly do the test. However, the table might have constraints such as checks and foreign keys that would make it difficult to put data in the table just for a test case. Instead of creating a lot of unnecessary data, we can replace the table by calling fakeTable. This will recreate the original table without constraints.

So suppose we want to test a more advanced currency conversion method that looks up the exchange rate from a CurrencyConversion table:

CREATE PROCEDURE testFinancialApp.[test that ConvertCurrencyUsingLookup converts using conversion rate in CurrencyConversion table]
AS
BEGIN
    DECLARE @expected MONEY; SET @expected = 3.2;
    DECLARE @actual MONEY;
    DECLARE @amount MONEY; SET @amount = 2.00;
    DECLARE @sourceCurrency CHAR(3); SET @sourceCurrency = 'EUR';
    DECLARE @destCurrency CHAR(3); SET @destCurrency = 'USD';

------Fake Table
    EXEC tSQLt.FakeTable 'FinancialApp', 'CurrencyConversion';

    INSERT INTO FinancialApp.CurrencyConversion (id, SourceCurrency, DestCurrency, ConversionRate)
                                         VALUES (1, @sourceCurrency, @destCurrency, 1.6);
------Execution
    SELECT @actual = amount FROM FinancialApp.ConvertCurrencyUsingLookup(@sourceCurrency, @destCurrency, @amount);

------Assertion
    EXEC tSQLt.AssertEquals @expected, @actual;
END;
GO

FakeTable takes two parameters, the schema and the table name to be faked. Because every test in tSQLt operates inside of a transaction, the original table is put back in place after the test finishes. FakeTable has allowed us to isolate the testing of the procedure independently of the rest of the database’s constraints.

Example 3: AssertEqualsTable

To simplify the comparison of tables and resultsets, tSQLt introduces a table comparison feature: tSQLt.AssertEqualsTable.

In this example, we want to generate a sales report. Our sales table tracks the amount of sale in the original currency, but since we want consistent data we should use our currency converter to make sure the report shows everything in a single currency.

CREATE PROCEDURE testFinancialApp.[test that Report gets sales data with converted currency]
AS
BEGIN
    IF OBJECT_ID('actual') IS NOT NULL DROP TABLE actual;
    IF OBJECT_ID('expected') IS NOT NULL DROP TABLE expected;


------Fake Table
    EXEC tSQLt.FakeTable 'FinancialApp', 'CurrencyConversion';
    EXEC tSQLt.FakeTable 'FinancialApp', 'Sales';

    INSERT INTO FinancialApp.CurrencyConversion (id, SourceCurrency, DestCurrency, ConversionRate)
                                         VALUES (1, 'EUR', 'USD', 1.6);
    INSERT INTO FinancialApp.CurrencyConversion (id, SourceCurrency, DestCurrency, ConversionRate)
                                         VALUES (2, 'GBP', 'USD', 1.2);

    INSERT INTO FinancialApp.Sales (id, amount, currency, customerId, employeeId, itemId, date)
                                         VALUES (1, '1050.00', 'GBP', 1000, 7, 34, '1/1/2007');
    INSERT INTO FinancialApp.Sales (id, amount, currency, customerId, employeeId, itemId, date)
                                         VALUES (2, '4500.00', 'EUR', 2000, 19, 24, '1/1/2008');

------Execution
    SELECT amount, currency, customerId, employeeId, itemId, date
      INTO actual
      FROM FinancialApp.Report('USD');

------Assertion
    CREATE TABLE expected (
	    amount MONEY,
	    currency CHAR(3),
	    customerId INT,
	    employeeId INT,
	    itemId INT,
	    date DATETIME
    );

	INSERT INTO expected (amount, currency, customerId, employeeId, itemId, date) SELECT 1260.00, 'USD', 1000, 7, 34, '2007-01-01';
	INSERT INTO expected (amount, currency, customerId, employeeId, itemId, date) SELECT 7200.00, 'USD', 2000, 19, 24, '2008-01-01';

	EXEC tSQLt.AssertEqualsTable 'expected', 'actual';
END;
GO

Here we’ve created a table that contains the actual results of the report and a second table containing the expected results. The AssertEqualsTable procedure will compare these two tables. If their schema or data is different, the test will fail with a report of the differences.

Example 4: SpyProcedure

Large monolithic stored procedures are difficult to test and maintain. We want to keep our stored procedures small and focused. We also want to test our stored procedures independantly of one another. To create independent tests, we can replace the functionality of a stored procedure with a spy. The spy will record the parameters that were passed to it.

In this example, we have improved our sales report to show either current or historical data based on a parameter. Here we’ll want to test that the SalesReport procedure handles the parameter correctly and calls either HistoricalReport or CurrentReport. We’ll use the AssertEqualsTable to make sure the currency parameter is passed correctly to HistoricalReport by looking in the spy’s log.

CREATE PROCEDURE testFinancialApp.[test that SalesReport calls HistoricalReport instead of CurrentReport when @showHistory = 1]
AS
BEGIN
-------Assemble
    EXEC tSQLt.SpyProcedure 'FinancialApp.HistoricalReport';
    EXEC tSQLt.SpyProcedure 'FinancialApp.CurrentReport';

-------Act
    EXEC FinancialApp.SalesReport 'USD', @showHistory = 1;

    SELECT currency
      INTO actual
      FROM FinancialApp.HistoricalReport_SpyProcedureLog;

-------Assert HistoricalReport got called with right parameter
    SELECT currency
      INTO expected
      FROM (SELECT 'USD') ex(currency);

    EXEC tSQLt.AssertEqualsTable 'expected', 'actual';
    
-------Assert CurrentReport did not get called
    IF EXISTS (SELECT 1 FROM FinancialApp.CurrentReport_SpyProcedureLog)
       EXEC tSQLt.Fail 'SalesReport should not have called CurrentReport when @showHistory = 1';
END;
GO

Example 5: ApplyConstraint

Testing database constraints has been a difficult problem for a long time. If we have a table and want to test a single constraint, we need to insert data that satisfies all the constraints on the table. This means that as we add new constraints to a table in the future, existing constraint tests are likely to start failing.

tSQLt allows for constraints to be isolated by first faking the table (which recreates the table without the constraints) and then applying the desired constraints to the fake table. The following test case shows how the validCurrency constraint can be tested.

CREATE PROCEDURE testFinancialApp.[test that Sales table does not allow invalid currency]
AS
BEGIN
    DECLARE @errorThrown bit; SET @errorThrown = 0;

    EXEC tSQLt.FakeTable 'FinancialApp', 'Sales';
    EXEC tSQLt.ApplyConstraint 'FinancialApp', 'Sales', 'validCurrency';

    BEGIN TRY
        INSERT INTO FinancialApp.Sales (id, currency)
                                VALUES (1, 'XYZ');
    END TRY
    BEGIN CATCH
        SET @errorThrown = 1;
    END CATCH;    

    IF (@errorThrown = 0 OR (EXISTS (SELECT 1 FROM FinancialApp.Sales)))
    BEGIN
        EXEC tSQLt.Fail 'Sales table should not allow invalid currency';
    END;

    IF EXISTS (SELECT 1 FROM FinancialApp.Sales)
        EXEC tSQLt.Fail 'Sales table should not allow invalid currency';
END;
GO

Wrap-Up
This tutorial has provided the basics of tSQLt test case writing. Test driven database development is your gateway to more robust, higher quality databases. Databases supported by automated tests are easier to refactor, maintain and tune for performance.


TEST CREATION AND EXECUTION

This section describes how test cases are created and executed, and provides the reference pages for the various methods to manage and execute test cases.

We’re going to answer two important questions in this section, “What happens when you create a test class?” and “What happens when a test class gets executed?”

What happens when you create a test class?
Not much, actually. When you create a test class using tSQLt.NewTestClass, a schema is created. That schema is created with an extended property so that tSQLt can later figure out which schemas are test classes. Note: If there is already a schema with the same name as the one you are trying to create, it is dropped first.

What happens when a test class gets executed?
If you execute tSQLt.RunTestClass, tSQLt does the following things:

1. It looks at all the stored procedures in the test class (schema) that start with the word “test”. These are all considered to be all the test cases for that test class.

2. For each of the test cases:
a. A record is created indicating that the test case is being executed in the tSQLt.TestResult table.
b. tSQLt starts a transaction.
c. If there is a stored procedure named SetUp on the test class, it is executed.
d. The test case stored procedure is executed.
e. The transaction is rolled-back.
f. The record in tSQLt.TestResult is updated accordingly if the test case succeeded, failed or threw an error.

3. The test results are displayed in the console.

If you execute tSQLt.RunAll, tSQLt first looks at all the schemas in the database for ones marked as test classes. Then, it follows steps 1 and 2 above for each test class. The test results are displayed after running all test classes.

Summary
Create test classes using tSQLt.NewTestClass. Execute test classes using tSQLt.RunTestClass or tSQLt.RunAll. When individual test cases are executed, they are wrapped in a transaction which is rolled-back. Before each test case, SetUp is called if it exists on the test class.



tSQLt:官方的tSQLt存储库。 (下载地址为 tSQLt 在下载最新版本。 tSQLt是用于Microsoft SQL Server的单元测试框架。 它与所有版本SQL Server 2005(需要Service Pack 2)及更高版本兼容。 tSQLt允许您在T-SQL中实现单元测试。 这很重要,因为您不必在创建代码和单元测试的各种工具之间切换。 tSQLt还提供了以下功能,使创建和管理单元测试更加容易: 测试在事务内自动运行–这使测试保持独立并减少了您所需的清理工作 测试可以在模式中分组在一起–允许您组织测试并使用常见的设置方法 可以以纯文本或XML生成输出-使其更易于与持续集成工具集成 tSQLt已在Apache 2.0下获得许可( ) 立即下载

相关推荐

S32K144 ADC硬件触发实战:PDB模块配置与DMA传输全流程解析

本文详细解析了S32K144微控制器中ADC硬件触发的全流程实现。通过配置PDB模块产生精确的定时触发信号,并联动DMA实现转换数据的自动搬运,构建了一个无需CPU干预的高效、低抖动数据采集系统。文章深入讲解了时钟配置、模块初始化、DMA引擎搭建及实战调试技巧,为汽车电子和工业控制应用提供了可靠的解决方案。

weixin_29174141的博客 241

sql初学者指南_使用tSQLt框架SQL单元测试面向初学者

sql初学者指南 tSQLt is a powerful, open source framework for SQL Server unit testing. In this article, we will mainly focus on how to create and run SQL unit testing with help of the tSQLt framework. Be...

culuo4781的博客 804

告别Modern Standby噩梦:Win11睡眠断网冻结的根源剖析与S3睡眠回归实战

本文深入剖析了Windows 11中Modern Standby(现代待机)模式导致睡眠后断网、系统冻结等问题的根源,指出其与硬件驱动、后台活动的兼容性矛盾。文章提供了通过修改注册表键值强制系统回归稳定S3睡眠状态的详细实战步骤,帮助用户彻底解决睡眠故障,实现可靠的远程访问与挂机任务。

weixin_29210727的博客 627

探索高效数据库测试:`tSQLt` - 简化T-SQL单元测试的利器

探索高效数据库测试:tSQLt - 简化T-SQL单元测试的利器 是一个开源的、针对Microsoft SQL Server的单元测试框架。它提供了一套全面的API,使得在T-SQL环境中编写和执行单元测试变得简单而高效。本文将带你深入了解tSQLt的核心功能、技术实现以及实际应用,以期让更多开发者体验到它的便捷之处。 项目简介 tSQLt旨在简化对SQL Server数据库对象(如存储过程、函数...

gitblog_00073的博客 602

在Ubuntu 20.04上,用EtherCAT Igh 1.6.2驱动高创BD3E伺服电机(附完整C代码)

本文详细介绍了在Ubuntu 20.04实时内核环境下,使用EtherCAT Igh 1.6.2主站驱动高创BD3E伺服电机的完整实现方案。从实时系统配置、伺服电机PDO映射到精确控制线程设计,提供了完整的C代码样例和实际项目中的调试技巧,帮助开发者实现工业自动化中的高精度运动控制。

weixin_30772105的博客 116

Matlab路径文件pathdef.m可能为只读文件修改方法

找到MATLAB目录下的bin这个文件夹,直接改这个文件夹的权限(之前试过改pathdef.m的权限,不好用)如果到这里重新导入还是不行,从官网重新下载需要的安装包,可能是你的安装包出了问题。(Win11系统,matlab版本为2022b)编辑——添加——在输入对象名称来选择中输入everyone。重启matlab,以管理员身份运行。并修改其他已有的权限,都给它。

yqc1123的博客 1万+

使用tSQLt的测试驱动数据仓库开发(TDWD)的概念

This is a conceptual article consisting of two parts with enough supported material for any data professional or enthusiast with databases or data warehouse development background willing to go a ...

culuo4781的博客 1121

UG\NX二次开发 找不到指定的dlx文件(Specified Dlx file not found)

有群友问:用Ctrl+U运行的时候就报错,找不到指定的dlx文件Specified Dlx file not found。怎么处理。

王牌飞行员_里海的博客 1136

T-SQL语言的测试开发

随着信息技术的快速发展,数据库在各个行业中的应用愈发广泛。特别是在企业级应用中,数据的存储、处理与分析尤为关键。在这一过程中,T-SQL(Transact-SQL)作为Microsoft SQL Server的扩展SQL语言,扮演了非常重要的角色。通过T-SQL,开发人员可以编写高效的查询、存储过程和触发器,并进行复杂的数据操作和业务逻辑处理。本文将深入探讨T-SQL语言的测试开发,包括测试的必要性、测试方法、工具以及最佳实践。

2501_90383809的博客 504

浅聊开关电源6:大学生电赛(电源类)之LCL并网滤波器设计(PCB设计,STM32F4xx程序与Simulink仿真)

关于LCL并网滤波器设计的一些小分享

xjtuymh的博客 3661

RAP Draft Handling 全面拆解:从独占 Draft 到协作 Draft 的架构与落地实践

独占 Draft 的启用点在行为定义头部的with draft。with draft;create;update;delete;with draft;上面这段代码来自一个完整的 Draft 启用示例,包含了 Draft 表声明、锁策略、ETag、Draft 动作等关键要素。:告诉框架草稿存哪。:告诉框架如何做并发控制与一致性保护。:把草稿生命周期动作显式暴露出来,让 UI 与事务引擎能正确驱动流程。

2007 年 ~ 2025 年,深耕 SAP 技术 18 年 965

SQL语言的测试开发

随着信息技术的高速发展,数据库成为了几乎所有应用程序的核心部分。SQL(结构化查询语言)因其简洁、高效以及强大的数据库操作能力,成为了最流行的数据库查询和管理工具之一。然而,随着项目规模的扩大和系统复杂性的增加,如何确保数据库操作的正确性和性能,成为了测试开发中的一项重大挑战。本文将探讨SQL语言的测试开发,包括SQL测试的重要性、测试方法、测试工具和最佳实践等内容。

2501_90494490的博客 529

NPU性能榨取手把手教程:RK3588上YOLOv5s多线程部署与120FPS极限探索

RK3588 YOLOv5s多线程部署优化指南 本教程深入解析RK3588芯片上YOLOv5s模型的高性能多线程部署方案。RK3588作为瑞芯微旗舰AIoT芯片,内置三核NPU(6TOPS算力)和硬件加速器(RGA/VPU),为AI推理提供强大支持。通过线程池技术,我们将视频处理的读取、推理、后处理等环节解耦并行,显著提升系统吞吐量。教程详细介绍了从PyTorch到RKNN格式的模型转换流程、INT8量化方法,以及基于RKNN C++ SDK的YOLOv5推理核心实现,帮助开发者最大化发挥RK3588的AI

LXY_LOVE36的博客 985

使用tSQLt框架和SQL Server Database Project集成进行SQL单元测试

In the previous article SQL unit testing with the tSQLt framework for beginners in this series, we covered tSQLt framework essentials and installation. we also demonstrated basic SQL unit testing ...

culuo4781的博客 498

怀旧版电脑GBC模拟器

再现原版GBC掌机的界面,电脑运行连游戏界面都一样大小,很怀旧,很真实,(英文版)强烈推荐,很小的文件,很难才找到的。

ET2012新版免狗免安装绿色软件

ET2012新版免狗免安祖昂绿色软件。,新界面,新视觉,

@sql 单元测试_简单单词中使用tSQLt进行的常规SQL单元测试

@sql 单元测试 This article is about basics of conventional SQL unit testing concepts and its implementation through tSQLt, a highly acclaimed SQL unit testing framework because of being written in T-SQ...

culuo4781的博客 641

Statistics and Machine Learning Toolbox

Statistics and Machine Learning Toolbox(带书签),MATLAB统计学习工具

软件测试宝藏图_tSQLt –数据库单元测试中被遗忘的宝藏

软件测试宝藏图 This article is an overview of tSQLt, which is one of the best SQL unit testing frameworks, due to number of reasons, including the ease of writing unit tests in the same language (T-SQL) i...

culuo4781的博客 526

NTscan扫描工具

ntscan是一个扫描器,可以扫描没有密码和弱密码的共享,先到配置文件中填写猜测的用户名和密码,扫描过程中右侧出现的是扫描日志。

使用tSQLt进行测试驱动的数据仓库开发(TDWD)

This is the second part of a conceptual article for data professionals and enthusiasts interested to work on a test-driven data warehouse development concept by using tSQLt an industry reco...

culuo4781的博客 339

tSQLt单元测试的测试驱动数据库开发(TDDD)基础

This article talks about core concepts of test-driven database development followed by creating simple SQL unit tests with tSQLt based on this approach. 本文讨论测试驱动的数据库开发的核心概念,然后基于此方法使用tSQLt创建简单SQL...

culuo4781的博客 1143

使用tSQLt创建SQL单元测试实用程序过程

This article gives hands-on experience of writing basic utility procedures and creating their SQL unit tests using tSQLt an advanced SQL unit testing framework. 本文提供了使用高级SQL单元测试框架使用tSQL...

culuo4781的博客 609

摘录本的摘录内容_使用tSQLtSQL单元测试数据仓库摘录

摘录本的摘录内容 This article talks about basic concepts of SQL unit testing from a Data Warehouse point of view using tSQLt, a highly productive and acclaimed SQL unit testing framework. 本文从数据仓库的角度使用tSQ...

culuo4781的博客 610

empty用法 server sql_使用tSQLt进行SQL Server单元测试

tSQLt是一种用于在SQL Server中进行单元测试的免费开源框架。开发者可以编写tSQLt测试案例,从而基于生产数据创建虚拟的表和视图,然后将期望值与实际的测试结果进行比较。测试是用T-SQL编写的,因此可以直接在SQL Server Management Studio中创建。使用tSQLt,开发者就能够拥有测试案例本身创建的数据,而不需要基于生产数据库的副本或者需要单独维护的测试数据库来测...

weixin_39917211的博客 154

如何编写SQL存储过程单元测试框架_自动化验证返回结果

SQL Server 存储过程测试需捕获RETURN值、OUTPUT参数和结果集三类输出,推荐使用tSQLt框架实现事务内「准备→执行→断言→回滚」闭环,避免数据污染与依赖干扰。开源、轻量、基于 T-SQL 实现,不依赖 .NET 或外部进程,所有断言都在数据库内执行,tSQLt.AssertEqualsTable 这类函数直接比对两个表结构+数据,连 NULL 和排序都处理得当。

2301_81767226的博客 263

@sql 单元测试_SQL单元测试:使用异常

@sql 单元测试 With this article, we will complete our journey with SQL Unit Testing. But first, let’s remember the main theme of the SQL Unit Testing again briefly. With the help of the SQL Unit Testi...

culuo4781的博客 764

sql重命名数据库_为什么要为SQL单元测试巧妙地命名数据库对象

sql重命名数据库 This article is focussed on clever database object naming from both development and SQL unit testing point of view. 本文从开发和SQL单元测试的角度着眼于巧妙的数据库对象命名。 This article also highlights th...

culuo4781的博客 574

从零开始学习C语言丨基本数据类型

C语言学习,计算机存储单位和基本数据类型。

jhdddd的博客 273
上一篇: SQLCMD and the power of the little r
下一篇: Hadoop运行原理之Spill, Shuffle
爱知菜
博客等级 码龄17年 1353粉丝 392原创
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

个

红包个数最小为10个

元

红包金额最低5元

当前余额3.43元 前往充值 >
需支付:10.00元
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

爱知菜

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付元
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值