Sunday, January 5, 2014

Sql temp table with primary key and autoincrement field?

CREATE TABLE #TBL
(
ID INT IDENTITY(1, 1) primary key ,
SOMETHING VARCHAR(50)
);

How to set multiple data attributes using the jQuery.attr()

$('#img').attr({
     alt: 'Beijing Brush Seller',
     title: 'photo by Kelly Clark'
});