在sql Query中使用varibale [英] Using varibale in sql Query

查看:93
本文介绍了在sql Query中使用varibale的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

i正在开发一个在线考试的应用程序,其中我正在使用一个变量total,其中我现在存储分数我想在sql查询中使用该变量来插入存储在表中该变量的值,其中分数将保存在候选名称中我能够在表中插入候选名称,但我不知道如何在sql查询中使用变量total来更新我的表所需的帮助。 ...

解决方案

Hii ..

以下链接可以帮助你..



http ://www.dreamincode.net/forums/topic/244559-storing-data-from-a-database-into-a-variable-to-perform-calulations/ [ ^

hello guys,
i am developing an application for online examination in which i am using a variable "total" in which i am storing the score now i want to use that variable in sql query to insert the value stored in that variable in table where scores will be saved against the candidates name i am able to insert the candidates name in table but i dont know how should i use the variable "total" in sql query to update my table needed help....

解决方案

Hii..
Below link can help you..

http://www.dreamincode.net/forums/topic/244559-storing-data-from-a-database-into-a-variable-to-perform-calulations/[^]


这篇关于在sql Query中使用varibale的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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