有没有办法在teradata列描述中搜索单词,字符串?
例如,如果某个表中有一个名为MKT的列,其描述为“Marketing”。有没有办法搜索“营销”,以便显示此描述?
答案 0 :(得分:0)
当描述表示列注释时,您可以轻松查询dbc.ColumnsV:
protected void Page_Load(object sender, EventArgs e)
{
if (Session["ReportDocument"] != null)
{
//ClientScript.RegisterStartupScript(this.GetType(), "IF", "alert('" + "Session Varialbe != null" + "');", true);
ReportDocument doc = (ReportDocument)Session["ReportDocument"];
CrystalReportViewer1.ReportSource = null;
CrystalReportViewer1.ReportSource = doc;
}
else
{
string reportPath = Request.QueryString["ReportName"];
string parameters = Request.QueryString["Parameters"];
this.objReport = null;
Session.Remove("ReportDocument");
this.objReport = new ReportDocument();
//ClientScript.RegisterStartupScript(this.GetType(), "Parameters", "alert('" + parameters + "');", true);
LoadReport(reportPath, parameters);
}
}