polly study cs
posts - 34, comments - 0, trackbacks - 0, articles - 1
C++博客
::
首页
::
新随笔
::
联系
::
聚合
::
管理
2011.5.5 SQL语句实践
Posted on 2011-05-05 17:12
polly
阅读(183)
评论(0)
编辑
收藏
引用
1
select
*
from R_Business_OrderInfo
2
3
select
*
from Base_ProductInfo
4
5
select
*
from Base_ProductInfo where ProLine_Name
=
'
服务器
'
6
7
select
*
from Base_ProductInfo where ProLine_Name
=
'
服务器
'
and Product_BaseTypeName
=
'
电话支持类
'
8
9
select top
10
*
from Base_ProductInfo order by newid()
10
11
select top
10
*
from Base_ProductInfo where ProLine_Name
=
'
服务器
'
order by CreateDate asc
12
13
select
*
from Base_ProductInfo where Product_BigTypeName like
'
硬盘%
'
14
15
select
*
from R_Business_OrderInfo
16
17
select
*
from R_Business_OrderInfo where UnifiedCustName like
'
[中深]%
'
order by SVC_MaterialName
18
19
alter table T_Base_Rate
20
alter column Ratetype varchar(
50
)
21
22
select
*
from Base_ProductInfo
23
24
select
*
from T_Base_StandardDate
25
26
--
查询表的主键
27
EXEC sp_pkeys @table_name
=
'
R_Business_OrderInfo
'
28
--
查询表的主键
29
30
31
select
*
from R_Business_OrderInfo
只有注册用户
登录
后才能发表评论。
【推荐】100%开源!大型工业跨平台软件C++源码提供,建模,组态!
网站导航:
博客园
IT新闻
BlogJava
博问
Chat2DB
管理
Powered by:
C++博客
Copyright © polly
日历
<
2011年5月
>
日
一
二
三
四
五
六
24
25
26
27
28
29
30
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
1
2
3
4
常用链接
我的随笔
我的评论
我参与的随笔
留言簿
给我留言
查看公开留言
查看私人留言
随笔分类
Algorithm
Python(2)
VC++学习(10)
Web开发
windows编程
模式识别&图像处理(12)
杂(2)
随笔档案
2012年9月 (3)
2012年8月 (3)
2012年7月 (8)
2012年2月 (3)
2011年11月 (2)
2011年10月 (1)
2011年9月 (1)
2011年6月 (1)
2011年5月 (8)
2011年4月 (4)
文章档案
2011年11月 (1)
搜索
最新评论
阅读排行榜
1. Gabor滤波小结(16597)
2. Bilateral Filtering for Gray and Color Images(2380)
3. CString 、 string 、 const char*、int、double之间的相互转换(1299)
4. 20110518 linux中IO调度算法小结(1243)
5. 【转载】在Ubuntu下安装Python科学计算环境(1121)
评论排行榜
1. 2011.4.11(0)
2. vc++学习笔记(0)
3. 2011 4.23 vc++2008 入门经典(0)
4. 2011.4.26 insertion sorting(0)
5. 2011 联想工作第一天(0)