Viewing 15 posts - 6,136 through 6,150 (of 26,490 total)
In an empty, sandbox database try the following. By the way, your view needs to be reworked but to do it right we need to see the full DDL...
August 4, 2014 at 10:32 am
Obviously you did not read the article you were asked to read. The table definitions and sample data posted are unusable unless one takes the time to write it...
August 4, 2014 at 9:56 am
Second (and before you tell you can't I provided SQL Server database support for a PeopleSoft development/support team at a previous employer for five years and I know what is...
August 4, 2014 at 8:12 am
First, I reformatted your code. I was able to determine that you are joining the two tables on 24 columns. Not really having time to work through the...
August 4, 2014 at 8:04 am
rajsin7786 (8/4/2014)
August 4, 2014 at 7:11 am
I am taking a guess, but something like this:
-- Setup sample table a and data.
create table #TestData(
ContractNumber int,
StartDate date,
...
August 3, 2014 at 6:01 pm
Eirikur Eiriksson (8/3/2014)
Where was that Crystal Ball again when one needs it, certain I've seen it somewhere...😎
Actually, I think the Crystal Ball is needed here. I just wanted to...
August 3, 2014 at 8:09 am
New_2SQL (8/3/2014)
As my nickname describes, I am very new to the forum and to SQL, so please do not get upset. Maybe I have to learn how to post...
August 3, 2014 at 7:54 am
Being a visually oriented person, I'd need to see what the OP is expecting the results to be from the query.
August 2, 2014 at 6:08 am
Evil Kraig F (8/1/2014)
Lynn Pettis (8/1/2014)
August 2, 2014 at 6:02 am
Daniel Matthee (8/1/2014)
Although the above mentioned queries will work I have learned not to do Inner select as this creates over head on the tempdb on the server.
An inner select...
August 1, 2014 at 4:50 pm
At a previous employer we established a fixed directory on the c: drive of our development and production Data Warehouse servers. This fixed directory contained an XML configuration file...
August 1, 2014 at 4:47 pm
solomon.jernas (8/1/2014)
After that bring the database to offfline then online,...
August 1, 2014 at 9:48 am
And this is why I like SSC. The question was answered and several alternatives and improvements to process were provided. Even a minor change to the last piece...
August 1, 2014 at 9:42 am
John Mitchell-245523 (8/1/2014)
August 1, 2014 at 9:30 am
Viewing 15 posts - 6,136 through 6,150 (of 26,490 total)