Viewing 15 posts - 5,056 through 5,070 (of 6,036 total)
Leave them their storage and create the right one in parallel.
Set up a trigger on their storage to syncronise both storages on every insert/update/delete.
Create a simple SELECT from right storage.
You...
September 22, 2006 at 12:14 am
Don't ask me.
I've got one DTS fan sitting 5 meters from me. He inbuilds in those DTS's unbelievable amount of fuctionality, 40 steps with 6 flow directions - is just...
September 21, 2006 at 9:17 pm
CASE WHEN column1='x'
then formula
else 'value inserted from the application'
END
September 21, 2006 at 7:33 pm
ohhh,
such a relieve! ![]()
You made my day!
![]()
September 21, 2006 at 4:23 pm
Daryl, you overcomplicated the statement and made couple of mistakes.
CREATE trigger UpdateWinMasterDueList on dbo.[Manager_List]
for INSERT, UPDATE
as
begin
Update tblWinMasterDueList
SET Manager= i.Manager
FROM inserted i
WHERE tblWinMasterDueList.jobCostCenter = i.home_jobcost_nbr
end
And 2 Frances:
September 21, 2006 at 4:02 pm
Again, for those who don't understand.
GET RID OF DTS!
You don't need DTS to create flat file.
Run you select from bcp command. Direct...
September 21, 2006 at 3:48 pm
Some Customer_ID in Notesdon't have correspsonding recpord amongst Customer_ID in Customer.
And they all should. Excluding NULL.
September 21, 2006 at 2:33 pm
LuckyInc,
you are really lucky! ![]()
If it's all about flat file report you don't neet to do anything!
Just replace commas in string with delimiters you...
September 21, 2006 at 2:27 pm
nileshane,
you must ALWAYS have ORDER BY clause just before FOR XML EXPLICIT.
And this ORDER BY must contain node names, not column names in source tables.
And typically it will be big,...
September 21, 2006 at 5:33 am
> for goodness sake, do not hardcode the user name and password in the code.
Is it your every day pray?
It's definetely mine.
Unfortunately it did not help much by now.
September 20, 2006 at 11:21 pm
You can find extended explanation and bunch of examples by just pressing "F1" in QA or EM.
September 20, 2006 at 11:05 pm
You may call lots of procedures from your trigger. But first error appeared will roll back all executed commands, including INSERT into table, does not matter how deep you'll try...
September 20, 2006 at 10:53 pm
Have uilt hundreds of XMLs and never had problems with ORDER BY clause.
Only with building right resultset. ![]()
You probably mess column names in...
September 20, 2006 at 8:29 pm
Trigger is a transaction by definition. If any error happens during trigger execution everything will be rolled back including INSERT/UPDATE/DELETE commited on table.
Remove all those toys BEGIN TRANSACTION /...
September 20, 2006 at 5:19 pm
Same type, same nature and meaning values MUST BE STORED IN THE SAME COLUMN.
Follow the relational model rules and you'll avoid triubles.
September 20, 2006 at 4:39 pm
Viewing 15 posts - 5,056 through 5,070 (of 6,036 total)