由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Database版 - how to particially delete record in sql server
相关主题
SQL Server stupid questionsLotus Notes to SQL Server
Any SSIS high hand here?SQL Server 问题 -- 怎样 UPDADATE 才快
如何让SQL 2005 CLR Trigger返回结果给Stored Procedure用?为什么SQL Server里面创立的Table不显示。
Asking help for Access!:(SQL Server table variable 的一个问题请教。
How to hide System tables in MS SQL server?有用phpMyadmin的吗,请教
请问一个SQL语句的优化问题SQL fast search in a 10 million records table (转载)
SQL server Express 怎么加 link tableSql Server有没有清除过期记录的有效办法?
请教比较两个table,找出相同和不同的recordsWhere to find log files in SQL server?
相关话题的讨论汇总
话题: record话题: delete话题: sql话题: server
进入Database版参与讨论
1 (共1页)
a***h
发帖数: 29
1
how to particially delete record in sql server
if there are 1000 pieces of record in a table, how can i
accomplish the following tasks:
1. delete record 1 to record 500.
2. delete record 500 to record 1000.
3. delete record 300 to record 500.
a***h
发帖数: 29
2
how to particially delete record in sql server
if there are 1000 pieces of record in a table, how can i
accomplish the following tasks:
1. delete record 1 to record 500.
2. delete record 500 to record 1000.
3. delete record 300 to record 500.
a****s
发帖数: 47
3
But I doubt that record is always in order.

【在 a***h 的大作中提到】
: how to particially delete record in sql server
: if there are 1000 pieces of record in a table, how can i
: accomplish the following tasks:
: 1. delete record 1 to record 500.
: 2. delete record 500 to record 1000.
: 3. delete record 300 to record 500.

a***h
发帖数: 29
4
there is a field for ID, but such ID is not an
autonumber(it is not an auto-increase number).

【在 a****s 的大作中提到】
: But I doubt that record is always in order.
n******e
发帖数: 50
5
SQL中没有记录号的概念. 你只能用key来指定所要操作的特定记录.
autoincrement的key也不是记录号, 例如你把key=100的记录删了,
key=101的记录不会自己改成100.

【在 a***h 的大作中提到】
: how to particially delete record in sql server
: if there are 1000 pieces of record in a table, how can i
: accomplish the following tasks:
: 1. delete record 1 to record 500.
: 2. delete record 500 to record 1000.
: 3. delete record 300 to record 500.

1 (共1页)
进入Database版参与讨论
相关主题
Where to find log files in SQL server?How to hide System tables in MS SQL server?
SQL server 2000有hidden records吗?请问一个SQL语句的优化问题
怎么学SQL SERVERSQL server Express 怎么加 link table
求购美国老土视频教学录像请教比较两个table,找出相同和不同的records
SQL Server stupid questionsLotus Notes to SQL Server
Any SSIS high hand here?SQL Server 问题 -- 怎样 UPDADATE 才快
如何让SQL 2005 CLR Trigger返回结果给Stored Procedure用?为什么SQL Server里面创立的Table不显示。
Asking help for Access!:(SQL Server table variable 的一个问题请教。
相关话题的讨论汇总
话题: record话题: delete话题: sql话题: server