Viewing 15 posts - 691 through 705 (of 1,048 total)
your update query is written wrong. It should be:
update T2 set col1 = T1.col2
from table2 T2
JOIN table1 T1 on T1.col1 = T2.col2
also, as others have stated, if your real data...
January 26, 2011 at 9:16 am
To answer your question with a question: Why would you want to do this?
You can compile a .net application for 32 bit or 64 bit or both environments. The...
January 19, 2011 at 12:06 pm
Koen (da-zero) (1/6/2011)
p.s.: sometimes it's pretty funny. In Belgium we have subtitles under the movies. The translation is usually a cleaned-up version of the original text. Hilarious when I was...
January 6, 2011 at 11:01 am
GilaMonster (1/5/2011)
You lot are nuts.
Now wait a second... I resemble that remark.
I think GSquared has a valid point. How *can* we determine the validity of a comparison between...
January 5, 2011 at 3:09 pm
what is the difference between Watermellon and Tuna I ask you???
On the one hand they are both edible items, originating from life forms and bring forth nourishment. On the other...
January 5, 2011 at 1:30 pm
I would use separate databases that would give you more flexibility in terms of optimizing and scalability.
I'd consider keeping the static data and application settings in the same database though.
December 29, 2010 at 6:46 am
You have several issues with that trigger. The inserted table is known only to the trigger - plus you have multiple commands in the your dynamic SQL statement, you need...
December 29, 2010 at 6:39 am
I do not see where the test3 table is being properly joined to the other two.
First thing I would recommend is to re-write the query using standard join syntax.
December 27, 2010 at 9:48 am
A view might be appropriate, it would depend upon the size/complexity of the base query.
If I needed to perform multiple queries against this data set then I would want it...
December 22, 2010 at 8:46 am
Parthi had it pretty close:
try this:
Select
Student.LastName,
Student.FirstName,
StudentClassroom.SCRID,
sum(Case When attendance.present = 1 THEN 1 Else 0 END) as Attendance
from Student
join
StudentClassroom
On Student.SID=StudentClassroom.SID
Join attendance
on attendance.SCRID=StudentClassroom.SCRID
group by Student.LastName,
Student.FirstName,
StudentClassroom.SCRID
December 21, 2010 at 2:37 pm
First let me say that I do not use the built in log shipping methods. I create my own so that my procedures and audits are consistent from SQL version...
December 21, 2010 at 6:56 am
What method are you using to keep them "in sync" ? You can set up an agent job on one or both of the servers to audit the state...
December 20, 2010 at 10:13 am
ASDL (12/14/2010)
December 14, 2010 at 2:10 pm
I am not sure what method you are using to export the data, but one way is change the dates to an empty string when they are null.
something like:
select ...
December 14, 2010 at 12:33 pm
Viewing 15 posts - 691 through 705 (of 1,048 total)