Viewing 15 posts - 46 through 60 (of 74 total)
The fundamental problem with writing an error to a log within a transaction that is subsequently rolled back is that everything written by the connection within the transaction is rolled...
March 28, 2013 at 1:20 pm
You can log the error to the SQL Server system log by specifying "WITH LOG" on your call to RAISERROR. These log entries survive the transaction rollback:
BEGIN TRAN
BEGIN TRY
...
March 28, 2013 at 7:28 am
Sorry you are having problems. I just re-tested by downloading the unmodified Geocode.sql from the resources link at the end of the article and executed:
EXEC spGeocode '1234 N. Main...
October 26, 2012 at 1:32 am
Thanks for the suggestion about a table variable. I know that operations on table variables don't get rolled back. Maybe I can find a way to make use...
September 27, 2012 at 1:14 pm
Another great article, Jeff. Thanks! I had no idea that an inline table-valued function could be so much faster than an scalar UDF.
I confirmed the "times two" results...
August 1, 2012 at 11:19 am
The link to the original script is under "Resources" at the bottom of the article (http://www.sqlservercentral.com/articles/geocode/70061)
The direct link is: http://www.sqlservercentral.com/Files/Geocode.sql/6085.sql
July 20, 2012 at 6:13 pm
Thanks! sp_Tables_Ex is just what I was looking for.
June 13, 2012 at 7:18 pm
Normally attributes that are parsed by SQLDOM are stored in the table #tblDOMAttributes (which can be joined to table #tblDOM via the DEID column).
In HTML 4, "selected" is really supposed...
April 24, 2012 at 10:33 pm
Jon,
Sure, you could parse HTML that is already stored in a column.
I wrote a brief post[/url] on this sort of thing at http://sf.net/p/sqldom/discussion/general/thread/5bf1fdb6/
In a nutshell, the #spactDOMLoad procedure...
April 23, 2012 at 12:52 pm
I did stress test, and spent some time optimizing.
I don't have detailed benchmarks handy, but by way of example parsing the Google home page (once the HTML is loaded in...
April 17, 2012 at 8:38 am
{message deleted}
March 29, 2012 at 2:34 pm
Thanks, Jeff.
I thought my standard pattern of simple joins would do about as well:
SELECT DISTINCT p.CustomerID
FROM
#Purchase p
JOIN #Purchase p2 ON
p.CustomerID = p2.CustomerID...
March 29, 2012 at 1:25 pm
We have SQL servers hosted with two different providers that we are happy with:
Both of these have been very reliable in production for 3 years or so. SoftLayer...
January 3, 2011 at 8:21 am
>>>Cursors I truly believe can be avoided altogether.
An example of when a cursor is necessary: when interacting with a SQL-based API that encapsulates business logic (Microsoft Dynamics GP for...
November 18, 2010 at 9:04 am
Indexed views provide the most value when you are indexing on columns from multiple tables that are joined in the view--particularly if all of the columns you need to access...
November 16, 2010 at 9:09 am
Viewing 15 posts - 46 through 60 (of 74 total)