如何创建字母数字自动递增交易号。在SQL Server的ASP.NET Windows应用程序中? [英] How to create Alphanumeric Auto Increment Transaction no. in ASP.NET Windows Application from SQL Server?

查看:59
本文介绍了如何创建字母数字自动递增交易号。在SQL Server的ASP.NET Windows应用程序中?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

喜欢交易1

交易2

交易3

交易4

交易5

解决方案

您可以使用带计算列的自动增量列:检查 Howt to auto increment Alphanumeric ID Eg:IT001,IT002 in MSSQL [ ^ ]

Like Transaction1
Transaction2
Transaction3
Transaction4
Transaction5

解决方案

you can use auto increment column with calculated column : check Howt to Auto increment Alphanumeric ID Eg : IT001, IT002 in MSSQL[^]


这篇关于如何创建字母数字自动递增交易号。在SQL Server的ASP.NET Windows应用程序中?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆