Viewing 15 posts - 3,706 through 3,720 (of 8,731 total)
This should be equivalent, but I don't have data to test.
SELECT A.SITEID
,AeSubCount
,SubCnt
,ROUND(( CAST(AeSubCount...
November 30, 2015 at 9:13 am
Trust me Luis that I understand the difference. 😉
I know you do, but the OP or others might not. 😉
November 30, 2015 at 8:56 am
Sean Lange (11/30/2015)
vineetbhargav (11/30/2015)
INSERT INTO #tab(ID ,COLA, COLB, COLC)
VALUES(1001,'1AAA' ,null, null), (1001 ,null,'2BBB', null),(1001,null,null, '3CCC')
SELECT
...
November 30, 2015 at 8:24 am
It replaces character by character in the column Data using DataToReplace and ReplacedWithData. One each recursion it replaces one character and removes one character from the auxiliar columns. In the...
November 30, 2015 at 7:38 am
It depends on what the recursive CTE is doing. Here's an example, but you need to test and be sure it's a better option. It's a while loop, but it's...
November 30, 2015 at 6:41 am
Brandie Tarvin (11/30/2015)
Eirikur Eiriksson (11/27/2015)
Brandie Tarvin (11/27/2015)
And now my head is just spinning with...
November 30, 2015 at 6:16 am
KGJ-Dev (11/30/2015)
I would be using this against real table and not temp table. just to play with test data i gave temp variable and data on my sample....
November 30, 2015 at 6:00 am
Larnu (11/30/2015)
FridayNightGiant (11/26/2015)
Larnu (11/26/2015)
November 30, 2015 at 5:50 am
eut.kop (11/26/2015)
serg-52 (11/26/2015)
CREATE table categoria(
[id_categoria] [int] NOT NULL,
[categoria] [nvarchar](50) NULL
);
INSERT INTO categoria
VALUES
(1, 'horror'),
(2, 'fantascienza');
CREATE table...
November 26, 2015 at 5:38 pm
Please stop making new threads for the same problem.
Focus on a single thread to solve the issue completely and let people follow the advice you've been given.
November 25, 2015 at 1:36 pm
You could try using the OUTPUT clause in your code, instead of trying to use dynamic sql in your triggers.
November 25, 2015 at 12:40 pm
Lynn Pettis (11/25/2015)
Help, I can't read and don't know how to attach a file... Sorry, some people are finding it easier to push my buttons today.
He really is...
November 25, 2015 at 11:39 am
The last condition can be simplified to
where
oa1.AccountID is not null or oa2.AccountID is not null
November 25, 2015 at 10:21 am
And by the way, you might want to change your WHERE clause to something like this to make it SARGable:
where RUN_TIME >= DATEADD( qq, DATEDIFF( qq, 0, GETDATE()), 0)
...
November 25, 2015 at 9:46 am
Brandie Tarvin (11/25/2015)
About 5 minutes ago received an email with "THANK YOU" in...
November 25, 2015 at 9:29 am
Viewing 15 posts - 3,706 through 3,720 (of 8,731 total)