Viewing 15 posts - 316 through 330 (of 1,253 total)
What about this...
SELECT edl.date_list, r.room_id
FROM ttc_room_tracker rt
RIGHT OUTER JOIN ttc_event_date_list edl
ON rt.event_date = edl.date_list
RIGHT OUTER JOIN ttc_room r
ON rt.room_id = r.room_id
WHERE rt.location_id = 2 AND r.location_id = 2...
April 3, 2009 at 4:12 am
Hi
You could do this in a number of ways but the query plans would be inefficient most of the times.
Dynamic sql may be a better solution to this. Check...
April 3, 2009 at 1:13 am
Great explanation Adi.
April 2, 2009 at 5:39 am
First why do you want to do this.
You would need to use dynamic queries to do this. You can pass the columns and their values as a string in a...
April 2, 2009 at 5:25 am
Stored procedures are also easier to debug than a trigger and can handle multiple table modifications better with the help of transactions.
As long as your trigger does not get too...
April 2, 2009 at 12:18 am
Suspended status means that the command is waiting for some other action to be performed so that it can continue.
Checkpoint writes modified pages from the memory on to the...
April 2, 2009 at 12:04 am
I assume that the column TimeIN is a datetime column.
Either there are no records for the date or more likely there is a time part along with the date part...
April 1, 2009 at 11:15 pm
Check this ...
select Replace(convert(char(20),GETDATE(),107),',','st,').
You will have to do some manipulation towards setting "st" part. Ex:- if the data is 5 then it should be "th" (5th) and so on.
Keep in...
March 30, 2009 at 4:38 am
I doubt whether reversing the tables could help a lot here.. anyway its worth a try. Mostly SQL will come up with a good execution plan irrespective of the order...
March 30, 2009 at 12:11 am
You need to create 2 logins and grant access to the db for only those 2 logins as mentioned in previous post.
Also make sure that the database role membership is...
March 27, 2009 at 6:26 am
Why do you want to change to case sensitive?
March 27, 2009 at 6:21 am
If your clustered indexes are on identity columns then you have some control over the order of the data. If the indexes are on other columns then it would be...
March 27, 2009 at 6:18 am
Mobile phones ringing incessantly and people bumping into my chair while walking around other wise its "LIVE AND LET LIVE".
March 27, 2009 at 6:06 am
Viewing 15 posts - 316 through 330 (of 1,253 total)