表内的静态数据 [英] static data inside table

查看:65
本文介绍了表内的静态数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好.

我需要创建一个不会保存在数据库中的表.该值将是静态的.我将尽快使用这些值.我怎么做.

hi all.

i need to create a table which will not be saved in the database. the value will be static. i will use those values soon. how can i make it.

推荐答案

尝试一下:

try this:

WITH TempTable AS
{
   SELECT     a, b, c, d, e, f
}



现在,字母a到f被存储到临时表中.

问候,
爱德华



NOW, letters a to f are stored into a temporary table.

Regards,
Eduard


这篇关于表内的静态数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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