Viewing 15 posts - 31 through 45 (of 46 total)
Log-Shipping copies the entire transaction log backup to your backup server and restores it, therefore it is a perfect copy of your source DB.
If you need only certain tables then you...
September 18, 2006 at 2:57 am
September 13, 2006 at 9:57 am
Personally, I find the hardest thing about moving on from a job is leaving your co-workers in the lurch... the feeling of guilt soon evaporates when you start getting your restful sleep...
September 13, 2006 at 8:42 am
You need to enclose the project codes in single quotes, as it stands the query is looking for columns called C, c etc. because the double-quotes are column identifiers, should...
August 22, 2006 at 2:32 am
and there it is for all to see...
mediacode1,length
--------------------
Ultra Eyecare
,15
Ultra Eyecare,13
(2 row(s) affected)
Many thanks Sergiy...
LF's shouldn't really exist in this data, I guess...
July 21, 2006 at 6:37 am
Thanks Noel,
ufortunately this results in the same error message - I will have to have our Spanish friends re-write the stored procedure.
Cheers,
Paul
July 18, 2006 at 2:01 am
Many thanks for all reponses;
the suggestion from noeld:
insert #tmp
select * from openquery ( <linked_server> , 'SET FMTONLY ON; exec <db>.dbo.sp ''2006-03-13'', ''2006-03-14'', 1' )
resulted in:
Server: Msg 7357, Level 16,...
July 17, 2006 at 3:52 am
Hi Tim, have tried "set nocount on" ( openquery would not allow set ansi_warnings off) with the same results, complete syntax of the remote sp as follows;
CREATE PROCEDURE CLI_IPACK_UK
(
@INICIO DATEtime,
@FIN...
July 14, 2006 at 9:48 am
Hi Tim,
I've located the cause of the problem, the sp on the Spanish server is not a simple select, the final statements in the sp are;
...
--first part writes all query...
July 14, 2006 at 9:21 am
Hi Tim,
connection re-established... reaults of using openquery as follows;
Server: Msg 7357, Level 16, State 2, Line 1
Could not process object 'exec cd01.dbo.cli_ipack_uk '2006-03-13', '2006-03-14', 1'. The OLE DB provider 'SQLOLEDB'...
July 14, 2006 at 8:32 am
Many thanks for the suggestion Tim,
However, the Spanish link has just gone down!, I'll try your suggestion as soon as possible....
July 14, 2006 at 8:29 am
Have you used bcp successfully before? If not it may be a permissions issue. If bcp is attempting to write the files you should be getting some feedback from Query...
July 14, 2006 at 3:44 am
I would suggest using Group By;
select CustID, ProdId, sum(Quant)
from Orders
Group By CustID, ProdId
July 14, 2006 at 3:04 am
Hi Arindam,
you could try this;
DECLARE @bcpResult int
DECLARE @bcpCommand nvarchar(4000)
DECLARE @ifile_id integer
DECLARE @sfile_id varchar(3)
create table ##temp
(
col1, -- as <source_table>
col2, -- as <source_table>
col3, -- as <source_table>
col4, -- as <source_table>
col5, -- as <source_table>
col6...
July 14, 2006 at 2:59 am
Thanks Wayne,
I'd come up with this since submitting the post;
select fu.* from dbo.followups fu
inner join
(select customer_id, max(followupID) As maxFollowUp
from dbo.followups
group by customer_id) as fuLatest
on (fu.customer_ID = fuLatest.Customer_ID AND fu.followupID =...
May 9, 2006 at 10:04 am
Viewing 15 posts - 31 through 45 (of 46 total)