when i add new code in any table
the code place in first rows
i need this code be in last page
sorry about my English
Exp
when i add new code in any table
the code place in first rows
i need this code be in last page
sorry about my English
Exp
I'm not 100% on this but this may be happening because there may be existing duplicate values on that column. SQL Server Management gets confused and then just throws up new stuff at the top, either this or nothing wrong with it being placed at the top.
You can run a query to see if there are any values that are repeated:
or if you want to arrange them from least to greatest or A-Z:Code:--Finds duplicate data in a certain table row. --imos USE [SRO_VT_SHARD] GO SELECT ID, COUNT(ID) AS NumOccurrences FROM _RefObjCommon --table name GROUP BY ID HAVING ( COUNT(ID) > 1 )
Hope it helps.Code:--imos: will sort any column from values 0-999.. or a-z --ASC for numbers DESC for letters USE SRO_VT_SHARD GO SELECT * FROM _RefObjCommon --table name ORDER BY ID ASC --column name and sort type
thx bro for try help me :)
i will try to find any thing to do it from option
_RefObjCommon > Design > right click ID Column Set a primary key > Column Properties > Indetity Spercification > (Is Indetity) set "Yes" done. same with others tables like _RefObjChar And _RefObjItem
when u use a db created in mssql 2008 r2 and the owner convert to sql 2005 primary key and indexes is removed automatic
i use 2008 r2 bro but i will try this way
Edit: Ur way work fine with me on SQLServer 2008 R2
Ty My Teacher![]()
Last edited by Kira; 18-04-12 at 02:01 AM.
Save what?? "save text file" ?!
didn't work here with me
Save the change on table first
and wait statiic he will answer
maybe i am wrong
but it work with me one SqlServer 2008 R2
now i must "like" and say thanks,works great here.
many thanks Statiic and another question is this method also for tables (Refpackageitem - Refscrapofpackageitem)
Coz they has the same problem at ID and index columns
and many thanks for your help..
i late to reply?
----
i get a new idea from this thread, we know how to make auto increement the column or whatever
so if we try it in RefObjCommon or like this tables to dont get error while adding avatars & etc can we success?
Last edited by RevoLand; 18-04-12 at 02:53 AM.