Forum: MS SQL Nov 6th, 2009 |
| Replies: 5 Views: 565 You're right, peter_budo. I should have posted the code first time around. Anyway, here it is now
DECLARE @VisitType varchar(7) --The Visit Name with which tblWindows is to be updated
--DECLARE... |
Forum: MS SQL Oct 27th, 2009 |
| Replies: 2 Views: 404 Thanks Scott, that was just what I was looking for. This was my first time working with loops in MS-SQL - very useful! |
Forum: MS SQL Oct 26th, 2009 |
| Replies: 2 Views: 404 What is the best way to generate a set of dates based on today's date? Essentially, what I wanna do is:
1. Get Current Date
2. Populate a table with future dates 6 months apart and go up until I... |
Forum: MS SQL Sep 26th, 2009 |
| Replies: 8 Views: 455 Thanks Scott and Ramesh,
I guess the next thing for me to do is look into FTI - I have just started working on this DB, so I am not quite sure if there are any indexes at all in it! |
Forum: MS SQL Sep 25th, 2009 |
| Replies: 8 Views: 455 I am using MS-SQL 2005 DB. One of the tables in the DB, that I inherited, has gotten upto 37000 records. And it will go up by another 50k records soon. Does that make too much data for one table? The... |
Forum: MS SQL Aug 26th, 2009 |
| Replies: 1 Views: 459 I am using the SQL 2005 Express edition for SQL server. The database resides on another server and I connect to it from my machine through the object explorer. I have created a trigger to run certain... |
Forum: MS SQL Apr 23rd, 2009 |
| Replies: 4 Views: 911 Woww... I missed an easy one there. Thanks Saion! |
Forum: MS SQL Apr 22nd, 2009 |
| Replies: 4 Views: 911 I have a table off which I need to parse out the data using certain criteria. The table contains 3 datetime columns called 'ReadingTakenOn', 'StartedOn', and 'StoppedOn'
Here's the criteria for... |