Skip to content

Monthly Archives: February 2013

You are here:
  1. Home
  2. 2013
  3. February

Brief history of Linux Kernel

LinuxBy kavecanFebruary 21, 2013

https://youtu.be/yVpbFMhOAwE

How to check if array contains specific element?

JavaScript && jQueryBy kavecanFebruary 10, 2013

You can use jQuery’s inArray function. Ie, to check if array myArray contains number 10 in it, you can use next code: if ($.inArray( myArray, 10) !== -1) { alert(“Yes, array myArray contains number 10 as one of it’s elements!”); } else { alert(“Nope, array myArray doesn’t contains number 10!”); }

How to reset Primary Key value of MS SQL Server table?

DatabasesBy kavecanFebruary 1, 2013

Just run following query: DBCC CHECKIDENT(‘YourTableName’, RESEED, 0) This one is often used after truncating table – under usual curcumstances without this command, next record you add will have primary key one higher than the latest added record (even you just truncated table).

© 2026. Kavecan.com. All rights reserved.
Go to Top