Viewing 15 posts - 406 through 420 (of 3,957 total)
KGJ-Dev (2/4/2015)
I am working in sqlserver 2008 R2
I have an interesting question. My question is does index Reorganize and rebuild everyday increases the DB performance? Which is good weekly...
February 4, 2015 at 6:51 pm
david.dartnell (2/4/2015)
I have a general question concerning joins. Below is a table scenario that I would like advice on -
SELECT *
FROM TABLE_A T0
INNER JOIN TABLE_B T1 ON T1.[Some_Column] =...
February 4, 2015 at 6:47 pm
patrickmcginnis59 10839 (2/4/2015)
dwain.c (2/4/2015)
SQL Query invoked by Crystal Reports v9.2 Performance Issue
I'm a great believer in going with what...
February 4, 2015 at 6:44 pm
Isn't this what PARSENAME is for?
WITH SampleData AS
(
SELECT Fullname = 'Pawar, Ramesh S.' UNION ALL SELECT 'Damon, Matt'
)
SELECT *
,LastName ...
February 4, 2015 at 6:37 pm
Nasty CROSS JOIN that.
Perhaps one of these instead?
CREATE TABLE #NumVals (ID INT, MatrixCat VARCHAR(100), MatrixVal VARCHAR(100));
INSERT INTO #NumVals (ID, MatrixCat, MatrixVal) VALUES
(1, '# Ready To...
February 4, 2015 at 6:23 pm
Lynn Pettis (2/4/2015)
gatorfe (2/4/2015)
February 4, 2015 at 6:11 pm
Quite interesting.
This illustrates the problem.
CREATE VIEW dbo.Test
WITH SCHEMABINDING
AS
SELECT
RecordLastChangedDateKey=20150204,
x=CAST('20150204' AS DATE) ;
GO
CREATE UNIQUE CLUSTERED INDEX IDX_t1 ON dbo.Test (RecordLastChangedDateKey, x);
GO
SELECT *
FROM dbo.Test;
GO
DROP VIEW dbo.Test;
Perhaps this solves it?
CREATE VIEW dbo.Test
WITH SCHEMABINDING
AS
SELECT...
February 4, 2015 at 6:00 pm
Sounds like a problem I had recently and the same solution too.
SQL Query invoked by Crystal Reports v9.2 Performance Issue
I'm a great believer in going with what works, without trying...
February 4, 2015 at 5:27 pm
Jeff Moden (2/4/2015)
Sean Lange (2/4/2015)
Sioban Krzywicki (2/4/2015)
Sean Lange (2/4/2015)
Sioban Krzywicki (2/4/2015)
Grant Fritchey (2/4/2015)
Eirikur Eiriksson (2/4/2015)
Sioban Krzywicki (2/4/2015)
Grant Fritchey (2/4/2015)
Brandie Tarvin (2/4/2015)
February 4, 2015 at 5:13 pm
If this is Romley's division (I'm sorry but I did not recognize it as such, which of course doesn't mean that it is not), Peter Larsson proposes a faster method...
February 4, 2015 at 4:55 pm
Never say never!
One day you'll want to add "4 - prior customer" for a contact that used to be a customer but is no longer paying for your services.
I'd go...
February 3, 2015 at 7:24 pm
As it turns out, I have a pretty efficient Calendar Table-generating function that makes short work of this:
create table #temp(account int, loc varchar(10), startdate datetime, enddate datetime);
insert into #temp select...
February 3, 2015 at 6:33 pm
Actually this is more like what I was thinking about.
create table #test_table (LP varchar(100), Original varchar (250), New varchar (250));
insert into #test_table
select '/page1' as LP, 'the quick brown fox jumped...
February 2, 2015 at 11:19 pm
Now this has gotta be a first! Someone honored to be flamed by he who should not be named.
http://www.sqlservercentral.com/Forums/FindPost1656896.aspx
And the flaming solution marked as "worked for the OP!"
February 2, 2015 at 8:12 pm
sqldriver (2/2/2015)
February 2, 2015 at 6:27 pm
Viewing 15 posts - 406 through 420 (of 3,957 total)