我想要在Sql Server中的存储过程中排队

我想要在Sql Server中的存储过程中排队

问题描述:

你好先生/女士





我在VB.Net上有sql server的应用程序。我有一份表格注册。我使用商店程序生成代码



Hello Sir/Madam


I Have A application on VB.Net with sql server . And i have a form Registration . And i am generate code using store procedure

My table

  CODE (Primary Key)            Name           Address
        1                       Nawaz              new delhi
        2                       niyaz              dubai

我正在使用商店程序生成代码..



现在我的问题是...我已经在网络中安装了该应用程序10台计算机都有连接通过网络中的单个数据库。当用户点击保存按钮然后我想将该记录保存在存储过程中的队列中然后逐个运行。

I am generating code using store procedure ..

Now my problem is... i have installed that application 10 computers in a network and all have connected through one single database in a network . when users are click on save button then i want to save that record on a queue in store procedure and then run one by one.





更好的是你可以在你的桌子中使用身份属性....

否则你可以使用One System参数表并存储ID值,当你有时需要该值然后获取它并使用下一个值更新。



SQL Server中的IDENTITY属性 [ ^ ]

IDENTITY(属性) [ ^ ]



问候,

Venkatesh Prabu Gopal
Hi,

Better you can use Identity Property in your table....
Else you can use One System parameter table and store the ID value and when ever you need the value then fetch it and update with next value.

IDENTITY Property in SQL Server[^]
IDENTITY (Property)[^]

Regards,
Venkatesh Prabu Gopal