Viewing 15 posts - 916 through 930 (of 14,953 total)
First, the query costs are not a very reliable measure of performance. Second, increased percentage of a reduced cost can be deceptive, in those cases where the costs end...
August 27, 2012 at 10:21 am
I prefer logging data with the UTC date and time. That way, servers in different time zones don't mess up their date/time sequence. Let the UI do the...
August 27, 2012 at 9:48 am
UPDATE/DELETE FROM work in all versions of SQL Server that I've worked with, including SQL 2000, 2005, 2008, and 2012. MS isn't planning on removing them. If they...
August 27, 2012 at 9:45 am
Sachin Butala-182900 (8/27/2012)
you can follow Pinal @ SQLAuthorityhe listed questions for basic to advanced.
I always find it interesting how many incorrect answers he has on that list. Even ones...
August 27, 2012 at 7:36 am
djackson 22568 (8/27/2012)
August 27, 2012 at 7:29 am
Robert.Sterbal (8/27/2012)
Is anyone familiar with the application of HeirarchyID to genetic sequencing?
I have to admit I don't know enough about genetic sequencing to even be aware there's a relationship between...
August 27, 2012 at 6:37 am
Alternatively, you can set a variable to a statement and then execute it.
declare @Cmd varchar(1000);
select @Cmd =
case
when X = Y then 'sql statement 1'
else 'sql statement...
August 24, 2012 at 9:32 am
If you create a globabl temporary table, one that starts with ## instead of just #, and you have a stored procedure that creates that table, then if the procedure...
August 24, 2012 at 9:27 am
Are you trying to edit data in Management Studio? Or some other application?
If Management Studio, right-click the table and choose Edit Top 200 Rows. You can view the...
August 24, 2012 at 9:19 am
Will sp2 ever be run while the table already exists? As in, while another copy of sp2 is running, or sp3 is running, or any other data is accessing...
August 24, 2012 at 9:15 am
Here's some of what I found on it: http://www.sqlservercentral.com/articles/T-SQL/92461/
The discussion (short), has a little information beyond what's in the article.
August 24, 2012 at 9:12 am
TVCs simplify a number of things.
Before, you had to do one of these things:
insert into dbo.MyTable (Col1, Col2)
values (1, 2);
insert into dbo.MyTable (Col1, Col2)
values (2, 2);
insert into dbo.MyTable (Col1, Col2)
values...
August 24, 2012 at 9:11 am
I'd add one more category to that: Prevent.
I spend a significant amount of my time making it so I won't have to fix things in the future.
August 24, 2012 at 9:02 am
I don't want to post interview questions and answers on a public forum, because they'll be mis-used by someone. Don't mean you, but these forums are public (effectively).
But, if...
August 24, 2012 at 8:12 am
Viewing 15 posts - 916 through 930 (of 14,953 total)