摘要: 1.字符串串联(String Concatenation)var q = from c in db.Customers select new { c.CustomerID, Location = c.City + ", " + c.Country }; 语句描述:这个例子使用+运算符在形成经计算得出的客户Location值过程中将字符串字段和字符串串联在一起。2.String.Lengthvar q = from p in db.Products where p.ProductName.Length < 10 select p; 语句描述:这个例子使用Length属性 阅读全文
posted @ 2011-08-02 15:06 八神吻你 阅读(27588) 评论(1) 推荐(0) 编辑
摘要: create database link onss(链接名)connect to STAGINGUSER(用户名) identified by STAGINGUSER(密码)using 'PROSTAGE'(tns 配置名);select * from STAGINGUSER.cti_grofags_hour@onss;DROP DATABASE LINK onss(链接名); //删除dblink 阅读全文
posted @ 2011-08-02 12:14 八神吻你 阅读(409) 评论(0) 推荐(0) 编辑