I know very little about C++ but I'm trying to tackle something for work and need some help...
I'm using this C++ ISAPI filter code to add a message to the top of a page on a IIS web server running ASP and CFML. This is a web server that will be going away and need a way to notify the users...
I'm looking at creating a site that allows you to drag/drop pictures, text-boxes, and certain stylized elements onto a template. It should contain the ability to edit the text in the boxes, as well as re-size the elements. There is a site that does basically the same thing using flash, but I'd...
I'm needing help writing a query that will convert a DATETIME value into a SMALLDATETIME value and drop any DATETIME values that would cause a SMALLDATETIME overflow error (use NULL instead).
Something like this maybe?
UPDATE TABLE
SET THISDATE = CASE WHEN THISDATE) >= 1/1/1900 OR...
Nothing has helped so far. Everything seems to be okay with the defragmentation and statistics.
This proc is very simple. It simply truncates two tables and reloads summary data into them.
As I said, everything works fine and fast except when I surround the query inside the SPROC with a...
Crowley, thanks for the helpful response. The SPROC had been running fine for the past year and just recently started having problems. I've looked over the indexes and they seem to be okay. It does appear to be a deadlock as you said.
I had noticed some of the indexes on one of the tables...
If I do the following, the SPROC runs fine:
--BEGIN TRAN --commented out
blah blah blah
IF @@ERROR <> 0
BEGIN
--ROLLBACK TRAIN --commented out
RETURN 1
END
--COMMIT TRAN --commented out
Dennis -- I did not put in the full code because I assumed those responding would assume I knew what I was doing...
IF @@error <> 0
BEGIN
ROLLBACK TRAN
RETURN 1
END
Is the exact block of code for that section.
Thanks for your concern over my methods however that's not my...
I have a SP that will not work when I have the queries in it surrounded by...
BEGIN TRAN
blah - blah - blah
IF @ERROR ROLLBACK TRAN
COMMIT TRAN
The proc seems to run indefinitely and there are tons of locks on the database it's using. If I remove all the TRAN lines (comment them out) the...
Can someone please tell me why this doesn't work? *'s replace actual secured values.
UPDATE OPENDATASOURCE('SQLOLEDB','Data Source=*.*.*.*;User ID=*;Password=*').*.dbo.*
SET ExceptionRanked = a.XCP_RNK_IR,
SelectionFlg = a.SLE_IR,
EUDLoadDt = GETDATE()
FROM TADMSMT a INNER JOIN...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.