Viewing 15 posts - 991 through 1,005 (of 1,346 total)
Rearrange the query a little.
When you are filtering on a record that is in one of the left/right join tables, it also has a null effect on the Outer join...
September 15, 2005 at 10:01 am
If you mix Left/Right joins with inner joins (only on referencing tables) it has a nullifying effect.
Not Tested
SELECT m.module_id, p.page_name, p.page_url
FROM user_permissions up
RIGHT OUTER JOIN module m on up.module_id...
September 15, 2005 at 9:35 am
Sure you can, what you do to a1.au_lname you have to do to a2.au_lname
select rank=count(*), a1.au_lname, a1.au_fname
from authors a1, authors a2
where a1.au_lname + a1.au_fname >= a2.au_lname + a2.au_fname
...
September 14, 2005 at 5:27 pm
Please don't Cross Post
http://www.sqlservercentral.com/forums/shwmessage.aspx?forumid=145&messageid=219894
September 14, 2005 at 5:24 pm
Minor detail
You state "If all records in table child" Does this mean table wide, or if All detail records for a parent?
If table wide, then what status record should be...
September 14, 2005 at 5:19 pm
Without answering your question directly
http://support.microsoft.com/default.aspx?scid=kb;EN-US;q186133
Ranking from sql (Numbering results) has a cost, IMHO the cycles are better spent on the presentation layer.
But I understand there are circumstances where...
September 14, 2005 at 4:44 pm
Well, you have left quite a bit of information out.
you have 5 tables, and each table has a matching table?
I'm assuming yes.
So for each of the 5 tables you need...
September 14, 2005 at 4:39 pm
Developers are a Carniverous lot.
That app that builds apps. Kind of leaves developers out of the loop once it gets accomplished.
Cutoff your nose in spite of your face.
I've worked several...
September 14, 2005 at 4:35 pm
You want users that have full control over what?
Don't understand on what you mean by who owns service account.
To figure out what users have access to what data files are...
September 14, 2005 at 1:55 pm
How do U keep a dba in suspense.
Tell U tomorrow!!
its 10:04, where's my big announcement?
September 14, 2005 at 10:15 am
Next version is sql 2005, and it will be out later this fall. There are no other released versions sql 2000 was the last realeased version.
Apparently there is some big...
September 14, 2005 at 9:33 am
How Bout
sp_who2
-- Retrieve the sql of this connection
DECLARE @handle binary(20)
SELECT @handle = sql_handle
FROM master..sysprocesses
WHERE spid = 54 -- Your Spid Here
SELECT [text]
FROM ::fn_get_sql(@handle)
September 14, 2005 at 9:30 am
IMHO, Initially I would say no that would not be a great place to use a calculated field. But again I guess it depends. Do you store the previous years...
September 14, 2005 at 8:50 am
Is server in mixed mode or windows only mode?
Are you connectiong w/ sql login, or domain account?
that error only indicates that sql server does not know who you are. No...
September 13, 2005 at 8:51 pm
Viewing 15 posts - 991 through 1,005 (of 1,346 total)