参数,请忽略“3S”。前期。 [英] Parameter, please ignore the "3S" upfront.

查看:135
本文介绍了参数,请忽略“3S”。前期。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

简单地说,我的参数值可以通过条形码扫描仪手动输入或扫描。

To put it simply my Parameter value could be either manually typed in or be scanned in via a bar-code scanner.

条形码与将输入,但它的前缀为"3S"。在前面

The bar-code is the same info that would be typed in, But it has a prefix of "3S" in front

例如 

如果输入:54321

if typed: 54321

如果扫描:3S54321

if scanned: 3S54321

有没有办法让参数忽略前面的所有3S?

Is there a way to get the parameter to ignore all 3S's in the front?

谢谢!!




推荐答案

亚当先生,

必须有一个基础程序或代码块,在识别后,只需编辑它并执行以下操作:

There must be an underlying procedure or code block, when identified, just edit it and do something like:

SET @p = REPLACE(@ p,'3s','');

SET @p = REPLACE(@p, '3s', '');

希望有所帮助,


这篇关于参数,请忽略“3S”。前期。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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