[109] MYPRIMARY.testdb1-11:02:08-1> sp_help tbl; | head -20
Name Owner Object_type Object_status Create_date
---- ----- ----------- ------------- -------------------
tbl dbo user table -- none -- Jun 28 2023 2:15PM
Column_name Type Length Prec Scale Nulls Not_compressed Default_name Rule_name Access_Rule_name Computed_Column_object Identity
----------- ------- ------ ---- ----- ----- -------------- ------------ --------- ---------------- ---------------------- ----------
f1 int 4 NULL NULL 0 0 NULL NULL NULL NULL 0
f2 varchar 16200 NULL NULL 0 0 NULL NULL NULL NULL 0
index_name index_keys index_description index_max_rows_per_page index_fillfactor index_reservepagegap index_created index_local
---------- ---------- -------------------- ----------------------- ---------------- -------------------- ------------------- ------------
cidx f1 clustered, unique 0 0 0 Jun 30 2023 11:02AM Global Index
[133] MYREPLICATE.testdb1_sub-11:10:12-1> sp_help tbl; | head -20
Name Owner Object_type Object_status Create_date
---- ----- ----------- ------------- -------------------
tbl dbo user table -- none -- Jun 28 2023 2:23PM
Column_name Type Length Prec Scale Nulls Not_compressed Default_name Rule_name Access_Rule_name Computed_Column_object Identity
----------- --------- ------ ---- ----- ----- -------------- ------------ --------- ---------------- ---------------------- ----------
f1 int 4 NULL NULL 0 0 NULL NULL NULL NULL 0
f2 varchar 16200 NULL NULL 0 0 NULL NULL NULL NULL 0
f3 timestamp 8 NULL NULL 1 0 NULL NULL NULL NULL 0
index_name index_keys index_description index_max_rows_per_page index_fillfactor index_reservepagegap index_created index_local plldegree disabled
------------- ---------- -------------------- ----------------------- ---------------- -------------------- ------------------- ------------ --------- --------
cidx f1 clustered, unique 0 0 0 Jun 30 2023 11:01AM Global Index 0 0
timestamp_idx f3 nonclustered 0 0 0 Jun 30 2023 11:07AM Global Index 0 0
[114] MYPRIMARY.testdb1-11:17:10-1> select * from tbl; -mvert -- I'm using sqsh -mvert option because f2 happens to be a huge column
f1: 1
f2: aaaa
[134] MYREPLICATE.testdb1_sub-11:13:58-1> select * from tbl; -mvert
f1: 1
f2: aaaa
f3: 0x00000000031281d9
select * from tbl where f3>0x00000000031281d9; -mvert
update tbl set f2="bbbb" where f1=1;
[136] MYREPLICATE.testdb1_sub-11:19:34-1> select * from tbl where f3>0x00000000031281d9; -mvert
f1: 1
f2: bbbb
f3: 0x000000000312824c
insert into <mytable> (<primary column list>) values( <primary value list>)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
20 | |
8 | |
7 | |
5 | |
4 | |
4 | |
3 | |
3 | |
3 | |
3 |