当我们在sql中使用临时表和表变量时? [英] When we use temp table and table variable in sql..?

查看:99
本文介绍了当我们在sql中使用临时表和表变量时?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨..



我需要知道在哪种情况下我们应该在T-Sql中使用本地的全局临时表和表变量。



我尝试了什么:



我知道如何创建临时表和表变量但是我不知道何时使用它..请告诉我好的情况..

解决方案

检查出来 link [ ^ ]

Hi..

I need to know in which scenario we should use local,global temp table and table variable in T-Sql.

What I have tried:

I know how to create temp table and table variable but i don't know when to use it ..please tell me with good scenario..

解决方案

Check this out link[^].


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

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