Viewing 14 posts - 31 through 44 (of 44 total)
Michael,
Thanks your your words.
The condidions I guess are (as the book writes)
C1.reshID = C2.reshID
and C1.reshstartDate = C2.reshstartDate
and C1.ReshHudNextAnnualDate is null
and C1.chid < C2.chid
To find out duplicate rows....
February 12, 2007 at 9:49 am
Sergiy,
I do not know and ask people on this forum. However, your words make me frustrating because BOL if helped me, I did not need to post my...
February 11, 2007 at 6:27 pm
Thanks, Wrack. Hope I can save time and money to buy and read them. I am afraid of poorly written books of SQL server I bought before.
November 16, 2006 at 1:16 pm
Jan,
But when you let user input free format text in an html TextArea and save it in an SQL server table column who belongs to varchar type, how...
September 6, 2006 at 2:32 pm
PW,
Good helps. Thanks so much.
BTW, OR operator can be used at places where CASE cannot be used in WHERE clause?
August 16, 2006 at 7:39 am
Knights,
I applied the 3 ways to do the query, in order, IN, EXISTS, INNER JOIN. They give me the same DTS results
-- 4/A table 'Class' and select only...
August 9, 2006 at 8:18 am
Table "SchoolAttendance"
------------------------
AttendanceRuID StudentID AttendanceDate AttendanceTyID RollupCount termID
-------------- ----------- ------------------------------------------------------ -------------- ----------- -----------
15097 169 2006-05-15 00:00:00.000 4 1 NULL
15098 169 2006-05-17 00:00:00.000 4 1 NULL
15172 169 2006-04-03 00:00:00.000 1 1 NULL
15173...
July 19, 2006 at 1:55 pm
Lynn,
I cannot drop constraint "termID is null" because in table "SchoolAttendanceRU", rows with TermID NOT NULL are ones I do not want to query them. Rows with "TermID is...
July 18, 2006 at 11:24 am
Query of stax68
select sat.*
from SchoolAttendanceTy sat
where sat.companyID=1370
and sat.AttendanceTyID = 2
gave me:
CompanyID AttendanceTyID Description ...
July 18, 2006 at 10:28 am
The query from stax68 gives me the same problem like "LEFT JOIN" same as "INNER JOIN". That means I cannot get any row for sat.AttendanceTyID = 2 (no row in...
July 18, 2006 at 9:58 am
Eddie Wuerch,
Thanks so much for your time spent for my question. Your words are great and really helpful.
Johnsql
March 23, 2006 at 11:03 am
Sergiy,
Thanks. I am trying to use a VIEW instead of a UDF. Do we need to re-compile a view in which relevant tables creating the view is changed (structure,...
March 18, 2006 at 3:47 am
Sergiy,
I got you. Thanks for your kind explanations and suggestions.
BTW, if I do not use function, then view and stored procedure is used. what is your con and pro for...
March 14, 2006 at 2:25 pm
Thanks Mr. or Ms 500,
I agree with you to pass a value for udf dbo.fn_GetFamilyMembersOfCustomer(). But if so, then the left join table #tgstinfo can associate with all set of...
March 14, 2006 at 12:18 pm
Viewing 14 posts - 31 through 44 (of 44 total)