Viewing 15 posts - 1 through 15 (of 18 total)
using the select statement you listed and changing it a bit. try this. Since I can only see an example of one record and not the table definition...
August 9, 2011 at 4:11 pm
When I used to do extracts for third party clients that needed this format we usually used a char(13) return to start the next record in the txt file.
August 9, 2011 at 3:15 pm
maynor_ramirez (8/9/2011)
August 9, 2011 at 2:03 pm
kwoznica (7/27/2011)
Brandie Tarvin (7/27/2011)
July 27, 2011 at 10:41 am
I believe that the basic problem you are having is in your GROUP BY within the first query. You have the following fields being used in calculations only but...
July 27, 2011 at 8:54 am
July 26, 2011 at 4:17 pm
I believe your issue is this statement
exec usp_stored_proc_name V1,v2
You are sending in two variables into the proc you need to bracket them
exec usp_stored_proc_name (V1,v2)
Try and let...
July 26, 2011 at 3:54 pm
There are many ways you can do this depending on your criteria. If you are assuming a 52 week year the statement above will work. ...
July 26, 2011 at 2:57 pm
I don't understand why you would even be trying to adjust HL7 messages within SQL. Most Health facilities use an interface engine such as Biztalk or Rhapsody to name...
July 22, 2011 at 8:19 am
Don't forget that they way the data is pulled could change any given pattern when there are columns before the search column that may order by a key field. ...
July 21, 2011 at 9:34 pm
I'm glad it helped. I guess my backwards thinking is a good thing at times.
Also you might want to start with char(32) in case there is a [space] between...
July 21, 2011 at 9:14 pm
I sent the code via email. For some reason SSC didnt like something within it so I couldnt post it here. Let me know if it works for...
July 21, 2011 at 4:02 pm
I would check with the developer of the application. Make sure he or she has the connection and the command timeouts set correctly.
July 11, 2008 at 10:59 am
Thanks, I will try that.
January 13, 2006 at 10:34 am
try this
declare @bigd datetime
declare @d1 datetime
declare @d2 datetime
declare @dc varchar(8)
declare @d2c varchar(8)
set @dc = null
set @d2c = '1/1/2005'
set @d1 = cast( case
when @dc IS Null THEN '1/1/3900'
...
October 7, 2005 at 3:21 pm
Viewing 15 posts - 1 through 15 (of 18 total)