何时使用游标(仍然没有使用过它们) [英] when to use cursors (still i was not used them )

查看:135
本文介绍了何时使用游标(仍然没有使用过它们)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

何时使用它们

在.net中使用sql

这些像触发器一样工作吗?

可以通过存储过程在.net中调用[

像tat一样,我们可以通过asp.net

when to use them

in .net with sql

these work like trigger ?

can we call[ in .net with stored procedure]

like tat can we cal cursors form asp.net

推荐答案

形如游标吗?触发器与游标完全不同.光标在记录集上移动,并允许您编写代码以一次处理一个记录.如果您别无选择,请使用它们.它们很慢.
If you type sql triggers into google you will get a ton of info. A trigger is nothing like a cursor. A cursor moves over a record set and lets you write code to work with one record at a time. Use them when you have absolutely no choice. They are slow.


这篇关于何时使用游标(仍然没有使用过它们)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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