Viewing 15 posts - 1 through 15 (of 153 total)
Thanks All: I found a typographical error and resolved the issue. Meanwhile I really appreciate the link to the "Catch All query" debate. Very helpful!
April 20, 2012 at 4:17 pm
Additional comment:
Another approach would be to build the entire SQL statement in the frontend and skip the dynamic SQL on the backend. Which is preferred or industry standard?
April 20, 2012 at 8:21 am
greatly appreciate the help. I ended up using a cursor and generating my list fine now.
Thanks,
Sam
February 18, 2012 at 3:58 am
figured it out! This works great:
ISDATE(REPLACE(SUBSTRING([column],PATINDEX('%[0-9][0-9]%',@x),10),' ','/')) =1
May 19, 2011 at 3:35 pm
REALLY appreciate the help!! Almost there.
Here is my statement so far:
SELECT d.ImageDetailID, d.ImageLink,
CASE WHEN
ISDATE(REPLACE(SUBSTRING(d.imageLink,PATINDEX('%[0-9][0-9]%',d.ImageLink),10),' ','/'))
THEN
CAST(REPLACE(SUBSTRING(d.ImageLink,PATINDEX('%[0-9][0-9]%',d.ImageLink),10),' ','/') as datetime) END
AS adate
FROM dbo.ImageDetail d
WHEREd.DateImage IS NULL
When I try to run get...
May 19, 2011 at 3:07 pm
Thanks, This helps.
I also copied the log so that is likely the problem.
Sam
March 5, 2011 at 6:20 pm
then how to call values? That's where I seem to be stuck.
exec spOutTest ...
February 18, 2011 at 3:16 pm
Thanks so much! This solved my problem so I thought I'd post it:
ORDER BY
CASE WHEN @SortVar='name' AND @order = 'ASC' THEN s.LastName+s.FirstName END ASC,
CASE WHEN @SortVar='name' AND @order...
October 15, 2010 at 2:17 pm
Paul:
I assumed the code should encapsulate the updates as well, right? :
BEGIN TRY
BEGIN TRANSACTION;
SAVE TRANSACTION [DoUpdates];
BEGIN
Update...
Update..
...
March 13, 2010 at 1:05 pm
Big thanks! Thanks for the additional error trapping as well.
Sam
March 13, 2010 at 6:58 am
yes, did that and it made a big difference but didn't completely solve the issue. Now looking at server resources such as more memory, etc.
February 25, 2010 at 4:40 pm
I have side by side instances running and it's killing us right now.
February 25, 2010 at 3:51 pm
These are not connected offices. We schedule procedures and tests with radiology or other sites that have their own systems in no way related to ours.
But I will check out...
February 12, 2010 at 12:14 pm
I would guess more along the lines of a screen scraper. I have a medical application and the same data may be requested from numerous sources. Let's say it's a...
February 12, 2010 at 9:34 am
Viewing 15 posts - 1 through 15 (of 153 total)