Viewing 15 posts - 136 through 150 (of 225 total)
Vime, I think what you are saying is that you need both a one time update - and a trigger for future updates...(I may be misundertanding).
See Martin's examples for the...
February 22, 2005 at 9:20 am
Hello Phil, I'm curious about your double from. You mentioned that it is not ANSI (89/92 - or not at all?)... Is there an ANSI statement that deletes based on...
February 22, 2005 at 7:11 am
No, not necessarily. NVarchar's and Varchar, as just one example, can frequently vary in size within a column. Therefore, updates to a column can cause page splits, etc. that will...
February 21, 2005 at 1:54 pm
I took out your variable for my testing so you will need to add it back in... Anyway, I think this does what you need - eventhough it is extremely...
February 21, 2005 at 1:35 pm
Bruce, eventhough you have 4GB memory, standard is going to use no more than 2GB. It probably just better to let sql dynamically determine memory utilization.
Regarding virtual memory - as...
February 21, 2005 at 9:56 am
JN, this brings us back to the distinct idea. You just stated that "all other fields have same values repeated including key fields". This means that you do not have...
February 18, 2005 at 4:01 pm
As far as I know, there is no need to wait. You can still PIVOT in SQL 2000 - just takes more typing.
See Pivot Table in BOL. RH
February 18, 2005 at 1:56 pm
Check out PW's thread. His derived table join still applies - only I guess it won't matter what field you aggregate. RH
February 18, 2005 at 1:53 pm
It might be easier to leave col2 as NULL until the APP updates the column. In fact, that would tell you even more about col2 since the app may set...
February 18, 2005 at 1:50 pm
JN, what logic are you using to determine what the first occurrence is? Is it arbitrary?
Also, are you saying that your select statement that feeds the INSERT statement has identical RECORDS,...
February 18, 2005 at 1:40 pm
I would consider:
Class Table, Student Table, Attendance table.
The attendance table would house Class_FK, Student_FK, Datetime...or something like that. You can always change the display of data though a report.
Your attendance...
February 18, 2005 at 12:58 pm
8 bits = 1 byte (i.e. 10101010 = 8 bits or 1 byte)
16 bits = 2 bytes, 24 bits = 3 bytes, etc.
February 18, 2005 at 11:09 am
Disregard - I got it worked out. The following routine helped illustrated it for me.
CREATE Table tblEXISTS (col1 int, col2 int)
INSERT tblEXISTS VALUES (50,10)
INSERT tblEXISTS VALUES (50,11)
INSERT tblEXISTS VALUES (45,12)
INSERT...
February 18, 2005 at 10:22 am
OK - another clarification. I hate to ask open ended questions of people so I have rewritten the query using "IN". This query is an example of how I am...
February 18, 2005 at 9:02 am
I'm not sure my post above properly explained my issue. I rewrote the EXISTS as I understand it:
SELECT t3.* FROM
test t3, test t2, test t1
WHERE t3.location != 50...
February 18, 2005 at 8:34 am
Viewing 15 posts - 136 through 150 (of 225 total)