Some SQL Server Date and Time Examples
I had a question from a developer yesterday about how to calculate the difference between local time (on the database...
2010-05-06
1,518 reads
I had a question from a developer yesterday about how to calculate the difference between local time (on the database...
2010-05-06
1,518 reads
Every day for the next couple of weeks, I aim to highlight one of SQL Server 2008’s new features, simply...
2010-05-06
594 reads
SQL Saturday #49 in Orlando just opened their call for speakers. I’m debating if I want to go out there....
2010-05-06
887 reads
Join us tonight for our May OPASS meeting at the SQL Share Offices 225 S. Westmonte Drive, Suite 2010, Altamonte...
2010-05-06
392 reads
We recently decided to use Team Foundation Server as our source control and, really, project management system. This decision was...
2010-05-06
478 reads
I heard this recently at my company. Our group, which is relatively removed from the main business of writing software,...
2010-05-06
751 reads
I saw The Checklist Manifesto by Atul Gawande ($15 @ Amazon) at the bookstore and had to read it. I’ve used...
2010-05-06
1,345 reads
continue with performace tunning stuff, I would like to make a checklist (kind of) for general performance tunning or dba...
2010-05-06
1,133 reads
DBAs & Developers using everyday UPDATE statement, and everytime before update they want to see what to update, after this they...
2010-05-06
3,504 reads
I think it is very important to be able to discover exactly what type of hardware is in an existing...
2010-05-05
1,008 reads
By Steve Jones
My life has some crazy travel stretches for sure. Between speaking, office visits, customer...
In Part 1, we saw how ‘Vamana’ represents vectors as nodes, connects them with...
I’m excited to announce the release of a new open-source project that fully automates...
Comments posted to this topic are about the item Optional Parameter Plan Optimization in...
Comments posted to this topic are about the item AI Experience Gap that we...
There is a table tmp_tab:
CREATE TABLE tmp_tab ( id int, val int );
INSERT INTO tmp_tab VALUES (1, 1), (2, NULL), (3, 3), (4, 4), (5, 5);You want to order the rows ids by the following expression:
ISNULL(val, id) + 1Which of the following queries produces the expected ordering and why? (Select all correct) See possible answers