Viewing 15 posts - 13,291 through 13,305 (of 13,841 total)
You haven't said what you want to update and what value, so I have left these for you to complete.
update no
set [field] = [whatever]
from n_order no join n_inv ni on...
September 21, 2005 at 12:02 pm
Sure - right click on the Transform Data Task, select properties and then click on the Options tab. You will see Max Error Count about halfway down the dialog box.
September 21, 2005 at 10:14 am
Don't be offended if this is blindingly obvious to you, but does the PHCR_Record table have an IDENTITY column defined?
September 21, 2005 at 2:55 am
Trial and error, walking around like a blind man in a dark room, is the way I did it. Not recommended though ![]()
September 19, 2005 at 10:09 am
select item, max(StatusDate)
from table
Group By Item
September 19, 2005 at 10:07 am
These examples do not cope with > 2 transactions, which I believe (from the other thread which you posted) is the requirement?
September 19, 2005 at 9:32 am
This cannot be done in a single SQL statement. If you definitely need it in this format, you'll need a chunk of code (examples of which appear elsewhere on this...
September 19, 2005 at 8:39 am
16 duplicates - on insert and on delete?
Is it a coincidence that you are inserting exactly 16 fields? (I hope so!)
Have you got other triggers that may be causing some...
September 19, 2005 at 2:57 am
Are there always two transaction IDs for each StockID, or is the number variable (in which case, you want a variable number of columns)?
September 18, 2005 at 12:17 pm
I haven't analysed your code, but my suggestion is to that you run Profiler and check out what SQL is being sent from the ASP.NET app. and troubleshoot from there.
September 18, 2005 at 12:14 pm
Have you tried this? If you import a text file using DTS there is a field called 'Text Qualifier' - set this to be " (the default) and DTS will...
September 16, 2005 at 12:06 pm
First of all - if you have a long message, I suggest that you type it in Notepad or Word first, to avoid the time-out that you experienced (we've all...
September 16, 2005 at 2:15 am
Getting weirder. Have you tried backing up the db and restoring it as another db, then running the query on that? If that fails, try restoring onto a different SQL...
September 15, 2005 at 10:43 am
So the sad face wasn't part of the plan then? ![]()
When things like this start happening, you start suspecting the integrity and consistency of...
September 15, 2005 at 10:07 am
"How would I get the next to last date from the Dates Table? (Would the Top Function work?) "
select max(date) from dates where date < (select max(d1.date) from dates d1)
September 15, 2005 at 8:06 am
Viewing 15 posts - 13,291 through 13,305 (of 13,841 total)