Ubuntu adalah satu-satunya operating sistem Linux yang pernah saya pakai untuk keperluan sehari-hari. Saya mendengar kabar dari teman, kalau versi LTS (Long Term Support - versi dengan ketersediaan update stabilitas dan keamanan 3 tahun) yang terbaru baru saja keluar. Saya mencari tentang hal ini di internet, dan yang pertama saya lihat tentu saja minimum system requirement nya. berikut ini info yang sudah saya dapatkan:
* minimal RAM : 384 MB
* DVD instalasi tersedia secara default dalam 64 bit. tapi masih tersedia juga versi 32 bit.
* DVD instalasi besarnya 750 MB. jadi tidak muat di CD.
rencananya saya akan install dalam waktu dekat. setelah saya sempat menginstal saya akan berikan review yang lebih mendalam.
sumber:
7 changes in ubuntu 12.04 LTS
what does LTS stands for
Precise Pangolin system requirements
Friday, April 27, 2012
Saturday, April 14, 2012
Reset Identity Column Value in SQL Server
If you are using an identity column on your SQL Server tables, you can set the next insert value to whatever value you want. An example is if you wanted to start numbering your ID column at 1000 instead of 1.
It would be wise to first check what the current identify value is. We can use this command to do so:
DBCC CHECKIDENT (‘tablename’, NORESEED)
For instance, if I wanted to check the next ID value of my orders table, I could use this command:
DBCC CHECKIDENT (orders, NORESEED)
To set the value of the next ID to be 1000, I can use this command:
DBCC CHECKIDENT (orders, RESEED, 999)
Note that the next value will be whatever you reseed with + 1, so in this case I set it to 999 so that the next value will be 1000.
Another thing to note is that you may need to enclose the table name in single quotes or square brackets if you are referencing by a full path, or if your table name has spaces in it. (which it really shouldn’t)
DBCC CHECKIDENT ( ‘databasename.dbo.orders’,RESEED, 999)
source: http://www.howtogeek.com/howto/database/reset-identity-column-value-in-sql-server/
It would be wise to first check what the current identify value is. We can use this command to do so:
DBCC CHECKIDENT (‘tablename’, NORESEED)
For instance, if I wanted to check the next ID value of my orders table, I could use this command:
DBCC CHECKIDENT (orders, NORESEED)
To set the value of the next ID to be 1000, I can use this command:
DBCC CHECKIDENT (orders, RESEED, 999)
Note that the next value will be whatever you reseed with + 1, so in this case I set it to 999 so that the next value will be 1000.
Another thing to note is that you may need to enclose the table name in single quotes or square brackets if you are referencing by a full path, or if your table name has spaces in it. (which it really shouldn’t)
DBCC CHECKIDENT ( ‘databasename.dbo.orders’,RESEED, 999)
source: http://www.howtogeek.com/howto/database/reset-identity-column-value-in-sql-server/
Subscribe to:
Posts (Atom)