Site Sponsored By: SQLDSC - SQL Server Desired State Configuration
Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
I have a Table with patients scheduled for a CT.I want to insert some columns of that table to a worklist table.One of the column (Schedele) is a datetime column.I want to insert only the scheduled patients for today in the worklist table (in the StartDate column).How can I solve this?for now I use: INSERT INTO[WorkList] (AccessionN, PatientID, PatientNam, Modality, StartDate)SELECT Sch_Id, IDA, PAT_NAME, LOCATION, ScheduleFROM EZIS
------------------------------------------------------------------------------------------------------SQL Server MVPhttp://visakhm.blogspot.com/https://www.facebook.com/VmBlogs
djamit
Starting Member
17 Posts
Posted - 2013-07-30 : 10:03:18
thank you it works
visakh16
Very Important crosS Applying yaK Herder
52326 Posts
Posted - 2013-07-31 : 02:09:08
welcome------------------------------------------------------------------------------------------------------SQL Server MVPhttp://visakhm.blogspot.com/https://www.facebook.com/VmBlogs