Viewing 15 posts - 4,231 through 4,245 (of 8,753 total)
Alan.B (11/30/2015)
Brandie Tarvin (11/30/2015)
Luis Cazares (11/30/2015)
Brandie Tarvin (11/30/2015)
Eirikur Eiriksson (11/27/2015)
Brandie Tarvin (11/27/2015)
And now my...
November 30, 2015 at 1:59 pm
Luis Cazares (11/30/2015)
November 30, 2015 at 11:53 am
Quick suggestion, use MAX and GROUP BY to eliminate the blanks and compress the rows into one row.
😎
USE tempdb;
GO
SET NOCOUNT ON;
;WITH SAMPLE_DATA(ID,COLA,COLB,COLC) AS
(
SELECT * FROM
...
November 30, 2015 at 7:46 am
Quick suggestion
😎
USE tempdb;
GO
SET NOCOUNT ON;
DECLARE @test-2 TABLE
(
id int,
knt INT,
name VARCHAR(10),
...
November 27, 2015 at 11:00 pm
Brandie Tarvin (11/27/2015)
And now my head is just spinning with the notion that an...
November 27, 2015 at 12:08 pm
Phil Parkin (11/26/2015)
TomThomson (11/25/2015)
Steve Jones - SSC Editor (11/25/2015)
Alvin Ramard (11/25/2015)
Steve Jones - SSC Editor (11/25/2015)
November 26, 2015 at 5:28 am
rhaberkorn (11/24/2015)
I need my query results to:
-...
November 24, 2015 at 11:23 am
TomThomson (11/23/2015)
Nice question.But your "not necessarily recommended" is a bit less emphatic than my expression would be if I encountered something like this in a code review. :rolleyes:
+1
😎
Certainly drop the...
November 24, 2015 at 12:30 am
Quick solution
😎
USE tempdb;
GO
SET NOCOUNT ON;
DECLARE @SAMPLE TABLE (ID CHAR(4),Salary INT,Employee_Tax1 INT,Employee_Tax2 INT,Employer_Tax1 INT,Employer_Tax2 INT);
INSERT INTO @SAMPLE(ID,Salary,Employee_Tax1,Employee_Tax2,Employer_Tax1,Employer_Tax2) VALUES ('A001',1000,120,95,125,105);
SELECT
X.ID
,X.Earn_Ded
,X.Employer_Tax
FROM @SAMPLE S
CROSS APPLY
(
...
November 24, 2015 at 12:25 am
Quick solution
😎
USE tempdb;
GO
SET NOCOUNT ON;
IF OBJECT_ID(N'tempdb..#t') IS NOT NULL DROP TABLE #t;
create table #t
(
id int,
col1 decimal(18,2)
)
go
insert into #t (id,col1)
values...
November 24, 2015 at 12:12 am
Ed Wagner (11/22/2015)
I think the spam bomb went off again today.
I guess you are not referring to TT's posts:-D
😎
November 22, 2015 at 1:48 pm
This whole thing doesn't make sense unless more information is provided, memory configurations and specs are relative to all the work the server has to perform, not exceptions like occasional...
November 21, 2015 at 12:03 pm
ricardo_chicas (11/20/2015)
November 20, 2015 at 9:07 am
First thing that comes to mind is parameter sniffing and local variables, suggest you read up on the subject, plenty of good articles around covering this.
😎
November 20, 2015 at 7:21 am
rameelster (11/20/2015)
but the database instance contain 2 databases each with size 240 GB and 714 GB respectively. Dont you think that 80 percent memory is very less.
No I don't...
November 20, 2015 at 6:29 am
Viewing 15 posts - 4,231 through 4,245 (of 8,753 total)