动态SQL生成 [英] Dynamic SQL generation

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

问题描述

任何人都知道如何通过这个问题


多个基表不支持动态SQL生成

Anyone know how to get passed this prblem

Dynamic SQL generation is not supported against multiple base tables

推荐答案

我不完全确定你的意思 - 你可以编写动态sql来对多个表运行。


你是说你有一个为你生成动态sql的工具,它不会起作用多个桌子?


格雷厄姆
Im not entirely sure what you mean - you can write dynamic sql to run against multiple tables.

Are you saying that you have a tool that generates dynamic sql for you and it wont work against multiple tables ?

Graham


你到底想要做什么?



你到底想要做什么?
Waht exactly you are trying to do ?



i有一个获胜形式

和2个表

需要从两个表格中获取信息到表格上页面加载

所以我用了一个连接


创建了sqlDataAdapter并填充了数据表

现在我要保存数据。

i have a win form
and 2 tables
need to get info from both tables onto the form on page load
so i used a join

created sqlDataAdapter and filled the datatable
now i want to save the data.

展开 | 选择 | Wrap | 行号


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

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