Viewing 15 posts - 106 through 120 (of 327 total)
Evil Kraig F (8/14/2012)
...stuff...
The post I was replying to asked if there was anything to back up my theory that RBAR was slow because of the T-SQL overhead. I posted...
August 14, 2012 at 2:45 pm
Matt Miller (#4) (8/14/2012)
If this is the kind of programming you're attempting to test - it's not set-based so there would be no reason to do such thing on a...
August 14, 2012 at 2:27 pm
Phil Parkin (8/14/2012)
patrickmcginnis59 (8/14/2012)
Shadab Shah (8/12/2012)
Jeff Moden (8/10/2012)
Shadab Shah (8/9/2012)
I have come across various section on this website where it is mention that SQL Server is a set based...
August 14, 2012 at 11:06 am
Shadab Shah (8/12/2012)
Jeff Moden (8/10/2012)
Shadab Shah (8/9/2012)
I have come across various section on this website where it is mention that SQL Server is a set based programming language.
My...
August 14, 2012 at 10:27 am
SQL_ME_RICH (8/3/2012)
patrickmcginnis59 (8/3/2012)
I'm one of those who might create a denormalized database for performance, especially in the case of a web application. In these cases, performance could itself be a...
August 3, 2012 at 11:40 am
Michael Valentine Jones (7/30/2012)
There are plenty of people that create denormalized databases and claim they did it for speed, and not...
August 3, 2012 at 8:28 am
L' Eomot Inversé (8/2/2012)
patrickmcginnis59 (8/2/2012)
August 2, 2012 at 10:25 am
bitbucket-25253 (8/2/2012)
Incorrect answers: 63% (129)
Total attempts: 205
And the implications this could have to those...
August 2, 2012 at 7:13 am
Here's one way!
-- set up our test table and variable
create table test1 (id int, dateref datetime, groupid int)
insert into test1 (id, dateref, groupid) values (17, '2012-06-20 10:00:00.000', 463)
insert into test1...
July 27, 2012 at 7:17 am
Jeff Moden (7/18/2012)
SQLKnowItAll (7/18/2012)
Am I missing something? Probably... :w00t:
Nah... it's me. Well, kind of... Original Post asked for...
I have a table which holds the next Invoice Number. What...
July 18, 2012 at 9:38 am
gerard-593414 (7/18/2012)
But I dont understand how the database Engine will prevent (without additional error checking or rules) TWO ACCOUNTS WITH THE SAME NUMBER BEING ADDED. Two selects...
July 18, 2012 at 8:51 am
How about:
SET @VAR = SELECT VALUE FROM TABLE WHERE ID = 1
then
UPDATE TABLE SET VALUE = @VAR + INCREMENT WHERE ID = 1 AND VALUE = @VAR
Obviously you'd be prepared...
July 14, 2012 at 1:35 pm
tinausa (7/13/2012)
But this query is an ASP.NET app where the user will enter from and...
July 13, 2012 at 11:39 am
I've been toying around with this construct:
CREATE TABLE [dbo].[TEST1](
[ID] [VARCHAR](10) NULL,
[VALUE] [int] NULL
)
GO
INSERT INTO TEST1 (ID, VALUE) SELECT 1, 10
SELECT 'PRE' LABEL1, * FROM TEST1
DECLARE @SAVE1 INT
UPDATE TEST1
SET VALUE...
July 11, 2012 at 12:49 pm
Just wondering, why can't you just do
SELECT DISTINCT ES.locname1, ES.locname2
FROM dbo.ExternalSource ES etc etc
when selecting for your unique values at level 2?
July 2, 2012 at 8:15 am
Viewing 15 posts - 106 through 120 (of 327 total)