Viewing 15 posts - 20,236 through 20,250 (of 26,490 total)
sreekirt (6/22/2009)
But i need to compare two column from two different tables.
I should be able to insert into table1 only when col1 >= col1 of...
June 26, 2009 at 11:17 am
Here is another option that won't use a triangular join and scales quite well:
CREATE TABLE dbo.EMPP
(EMPNO INT,
ENAME VARCHAR(20),
SAL INT,
DEPTNO INT
)
INSERT INTO dbo.EMPP
SELECT 7840,'MANISH',2000,10
UNION ALL
SELECT 7399,'GAYLE',3000,10
UNION ALL
SELECT 5389,'SIDHU',7000,20
UNION ALL
SELECT 7690,'ARVIND',3000,20
UNION ALL
SELECT...
June 26, 2009 at 10:57 am
You really only need one of those indexes from what I can see. That would be the one that includes all the columns listed in the INCLUDED column lists....
June 26, 2009 at 10:27 am
Went back to Slave Boy's thread just now, and I'm wondering, is it just me or do some posts just magically appear where I hadn't seen them before?? This...
June 26, 2009 at 10:06 am
I'd go with the EXCEPT as well, you just have to be sure that both queries have the same number oc columns and that they are the ones you want...
June 26, 2009 at 9:58 am
Florian Reischl (6/26/2009)
Jeff Moden (6/26/2009)
Florian Reischl (6/26/2009)
Lynn Pettis (6/25/2009)
I only hope he reads the blog, but I doubt it.I hope (s)he did. Next posts have been really okay.
Heh... I'm not...
June 26, 2009 at 9:57 am
I don't see anything in the your query that indicates that you have a triangular join. All criteria are using equality comparisions.
June 26, 2009 at 9:49 am
Going to need some things from you. First, if you haven't already, please read the first article I reference below in my signature block about asking for assistance.
We need...
June 26, 2009 at 9:44 am
Just MHO, it is probably by design as recursion by nature is a loop.
June 26, 2009 at 9:20 am
Sinshith S Anand (6/26/2009)
Hello Friends,I made necessary changes on the program. Now it will work smoothly..I will be careful from next time
Okay, this is a two way...
June 26, 2009 at 9:06 am
Paul White (6/26/2009)
Steve Jones - Editor (6/26/2009)
Alright, I'm leaving for a week. Behave yourselves on the thread.
Have fun whatever you're doing. I'm sure we'll all try hard to be...
June 26, 2009 at 8:59 am
On a totally different subject, but something you should starting thining about. You need to get away from using three (and possibly) four part naming conventions iin your SELECT...
June 26, 2009 at 8:57 am
Is this what you are looking for?
--dateStart and dateEnd
--22/10/2008 19/01/2009
--
--and IN ONE query i'd like to have :
--
--- the total of day BETWEEN the two date
--- the total day...
June 26, 2009 at 8:47 am
Eswin (6/26/2009)
Lynn Pettis (6/25/2009)
Have you read the articles that I asked you to read yet in my post above? If not, please go read them.
I know he is slow...
June 26, 2009 at 7:44 am
Sinshith S Anand (6/26/2009)
Hi friends,I am really happy to see Lots of ideas....You can visit my blog also
http://sinshith.wordpress.com/
And let me know your comments...I started writing blog recently
You still...
June 26, 2009 at 7:40 am
Viewing 15 posts - 20,236 through 20,250 (of 26,490 total)