Viewing 15 posts - 1 through 15 (of 18 total)
I had the software assurance...got 2005 std for the cost of the media. Less than $30.
February 27, 2007 at 12:13 pm
Here is how I did it:
Function Main()
Dim oFSO, sImportFile ...
October 11, 2006 at 7:23 am
I think I figured it out.
Instead of: SELECT *
I did: SELECT tblVisit.*
I got it to work! Thanks for all your advice!
August 23, 2006 at 9:16 am
DavidP,
Your code pulls the data I want...except...I don't want the columns from tblPatient.
I only want the fields from tblVisit.
Any ideas how to do that?
Thanks
August 23, 2006 at 9:15 am
Yes there is a unique Patient MedRec# and then ACCT#'s for each visit. The ACCT#'s duplicate in tblVisit because there are multiple updates...like if they are moved to another...
August 23, 2006 at 7:23 am
Yes it is a DateTime field.
There could be multiple records in the tblVisit but I do just want the latest record.
August 23, 2006 at 7:20 am
On #4.
If your database has a lot of use you might consider doing transaction log backups.
A couple of my databases have heavy use. I do hourly transaction logs. ...
May 17, 2006 at 7:35 am
Nice!
Thanks, I am a noob that is still learning.
I appreciate your tips.
May 9, 2006 at 6:37 am
If you need to delete the archived files after a certain time period...I am doing that too. I only need to keep them one week.
You could easily modify this...
May 4, 2006 at 8:30 am
Can you do the copy command instead of the move command?
oFSO.CopyFile
May 4, 2006 at 7:53 am
This is how I am naming a file with the datetime stamp and moving it to a different directory:
Function Main()
' Declare variables
Dim oFSO
Dim sSourceFile, sDestinationFile
Dim sArchiveFile, dtMonth,...
May 4, 2006 at 7:29 am
Ok, I appologize Sergiy, I see now Farrell used your code.
Yes, it works for me now.
Thanks a bunch!
May 4, 2005 at 9:21 am
I was able to use your code Farrell.
I added the check for no Case end date.
It runs very fast too. Thanks
SELECT MAX(l.clrec_sysid) AS clrec_sysid,
l.cons_entity_id AS cons_entity_id,
lm.Max_event_date AS...
May 4, 2005 at 9:16 am
I get the following error on Sergiy's code:
Server: Msg 107, Level 16, State 2, Line 11
The column prefix 'l' does not match with a table name or alias name used...
May 4, 2005 at 9:00 am
Viewing 15 posts - 1 through 15 (of 18 total)
This website stores cookies on your computer.
These cookies are used to improve your website experience and provide more personalized services to you, both on this website and through other media.
To find out more about the cookies we use, see our Privacy Policy