生成&比较sql storeprocedure中表的id [英] generate & compare id from table in sql storeprocedure

查看:64
本文介绍了生成&比较sql storeprocedure中表的id的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好先生,

goodevening ....

我正在使用vb6.0和sql2005。

展开 | 选择 | Wrap | 行号

解决方案

展开 | 选择 | Wrap <跨越ss =codeDivider> | 行号


Mr.Delerna .. GoodMorning ..,

i得到了你所写的但是当我执行了程序...错误来了语法不正确的选择语句


proc是正确的,只有一个结束括号缺失

(int,max(substring(centreid,3,13)))

我希望你得到了ANS。

hello sir,
goodevening....
iam working on vb6.0 and sql2005.

Expand|Select|Wrap|Line Numbers

解决方案

Expand|Select|Wrap|Line Numbers


Mr.Delerna..GoodMorning..,
i have got what u wrote but when i executed the proceure ..the error cameIncorrect syntax near ) of select statement


Hi the proc is correct just one closing bracket is missing
(int,max(substring(centreid,3,13)))
I hope u got the ans.


这篇关于生成&amp;比较sql storeprocedure中表的id的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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