Viewing 14 posts - 61 through 74 (of 74 total)
@gulatimahesh: It depends on how the application manages SQL connections. CONTEXT_INFO is unique per connection.
If the application establishes separate SQL connections for each application instance, CONTEXT_INFO...
June 9, 2010 at 8:36 am
Nice article, and interesting use of CONTEXT_INFO.
Be careful that nothing else depends on CONTEXT_INFO though! (Overwriting CONTEXT_INFO could have unintended impact on other routines that rely on session information...
June 9, 2010 at 4:07 am
This geocoding web service can only process a single request at a time, so to process multiple rows you would need to loop through the rows to process...
May 24, 2010 at 3:17 pm
@malik.s.nisar: see this Google documentation for reverse geocoding information.
The pattern should be similar: submit a request, receive the response, and then retrieve individual values via XQuery...
May 22, 2010 at 11:14 am
@Kim P:
From documentation we see that the precision (accuracy) information is stored in the location_type XML node.
You can define a parameter to store this information, such as:
@LocationType varchar(40)...
May 22, 2010 at 11:09 am
@idea Deadbeat: Sorry you are having problems. I tried your examples, and they worked fine here.
I would concur with your suspicions about a firewall blocking outbound...
May 19, 2010 at 10:17 am
@thomas.schmidt: Thank you for the feedback.
Your experience with "WinHTTP.WinHTTPRequest.5.1" is interesting. The information I can find suggests that "MSXML2.ServerXMLHTTP" is the right object for servers. ...
May 19, 2010 at 10:13 am
@chouse: Yes, that is my recollection about Yahoo as well, though I haven't reviewed their policy lately.
May 19, 2010 at 10:01 am
@idea Deadbeat: Thanks for your interest. I just downloaded and executed the attached code (in a new clean test database), and it worked as expected.
Google shouldn't...
May 19, 2010 at 9:57 am
There's something strange going on. Maybe SSMS is the problem? Try this:
SET TRANSACTION ISOLATION LEVEL SNAPSHOT
CREATE TABLE tblTest (Test int)
GO
...
April 2, 2009 at 12:08 pm
Chad,
Thank you for taking the time to reply.
In this case, I don't know or have control over what columns are defined in #Test or #Source. (I am not guaranteed...
October 9, 2008 at 4:11 pm
jh72i,
Here is the way I would select rows within a range of N business days:
// Date range (5 business days prior to @searchDate through @searchDate)
SET @searchInterval = -5
...
September 7, 2007 at 8:19 am
I have used a "holidays" table with great success. In it I insert a row for each non-work day (including Saturday
and Sunday, if applicable).
This approach is very flexible, as non-work...
September 6, 2007 at 10:08 pm
Robert,
It might be interesting in a follow-up article to consider the implications and pitfalls of explicit transactions in nested stored procedures.
David Rueter
May 18, 2007 at 5:29 pm
Viewing 14 posts - 61 through 74 (of 74 total)