Viewing 15 posts - 13,351 through 13,365 (of 13,401 total)
Many thanks - will try that when I get a chance.
Phil
July 5, 2004 at 11:04 pm
You should backup your database before trying this ...
In Enterprise Manager, just make a design change to the datatype of the varchar field (change it to 'datetime') and save. You...
July 5, 2004 at 9:12 pm
I would add a WHERE clause to this, along the lines of
UPDATE Fee_Maxima_Benchmarks
SET Fee = CEILING(Fee)
WHERE Fee CEILING(Fee)
The slight amount of extra processing involved is worth it to...
July 5, 2004 at 5:39 pm
What sort of trouble are you having? Do you want to batch the updates?
July 4, 2004 at 11:40 pm
Not sure that I follow the process. Do you want to automatically create a record in TicketH whenever one is added or amended in Ticket? Is SeqNbr just...
July 1, 2004 at 6:25 pm
Your UPDATE statement needs to contain a WHERE clause which specifically excludes all records which have already been updated - and this will, of course, depend on your update logic.
Note...
July 1, 2004 at 6:15 pm
Try something like this:
select top 3 record, date, country, sales
from (tablename)
order by sales desc
June 30, 2004 at 12:01 am
I suspect that your problem occurs before the Select statement has a chance to run on the linked server, so your @error checking never executes.
Your method of error trapping will...
June 29, 2004 at 8:03 pm
You might like to qualify 'decimal' with 'precision' and 'scale' arguments - eg decimal(9,5) gives you 9 decimal positions per number to play with - up to five of them...
June 29, 2004 at 12:33 am
Here's a routine that executes the same command for all databases in an instance. You should be able to modify it to plug in your commands.
declare @sql varchar(400)
set @sql='select...
June 25, 2004 at 12:09 am
I too have seen this error, with queries like
select * from table1 t1 where t1.id = (select t2.id from table2 t2 ... where t2.id = t1.id)
The error occurs when...
June 24, 2004 at 11:51 pm
Sorry to nit-pick, but just got up at 4am to watch England exit Euro 2004 on penalties, so I'm on the war-path!
Quoting from the original post, the required result in...
June 24, 2004 at 5:54 pm
Could it be a locking issue (eg table locked for update so other users can't access it)? Might be worth running Profiler to check.
June 23, 2004 at 10:11 pm
I'm with warey on this. Please explain how the data are linked and give an example of the output you are trying to get to.
June 23, 2004 at 10:03 pm
Can you post the exact error message that you are getting and the circumstances under which it is displayed?
June 23, 2004 at 9:57 pm
Viewing 15 posts - 13,351 through 13,365 (of 13,401 total)