摘要:
第一种:调用Sqlhelper类string sql = "select * from 表名 order by 字段 desc";var data = Sqlhelper.GetData(sql1);TextBox1.Text = data.Rows[0]["数据库字段"].ToString();T 阅读全文
摘要:
oracle数据库常用sql 基本sql --查询表 select * from table --查看表空间 select * from dba_tablespaces --删除表 drop table 表名 --条件查询 select * from table where 字段 = xx --删除 阅读全文
摘要:
//一列数的规则如下: 1、1、2、3、5、8、13、21、34...... 求第30位数//public class MainClass { public static void Main() { Console.WriteLine(Foo(30)); } public static int Fo 阅读全文
摘要:
例子: ALTER PROCEDURE [dbo].[Proc_GetCarriersByPage]@pageIndex INT , --第几页@pageSize INT , --每页展示的数据条数@state int=0, --承运单的状态值@ReviveDateStart datetime nu 阅读全文