Viewing 15 posts - 16 through 30 (of 33 total)
Thank you very much for the response Dinakar. We have decided to solve this using a DTS package.
July 26, 2006 at 7:10 am
The question does not talk about whether it is a 2-way replication. By default, it will be a one-way replication and u cant update a subscriber directly.
October 25, 2004 at 4:01 am
Even if the table does not exist, you won't be getting a syntax error. Ofcourse you will get an error that the object does not exist, which is not a...
October 14, 2004 at 3:09 am
U have got it the other way. If u use desc, it returns 3 records and if u don't use desc, it returns a single record (since it orders in...
October 14, 2004 at 12:47 am
The question talks about a table called "People" whereas the Query refers to a table called "foo".
October 13, 2004 at 10:53 pm
I did see the output of those options. But, I just want to know how they can help me in deciding in the performance of a Query. since, the values...
August 2, 2004 at 9:54 pm
Hi Chris,
Thanks for the explanation. I do agree with you. I was trying with the sorted column in the select list and that changed the result.
July 28, 2004 at 12:21 am
As the others have said above, the query given is incorrect. Since table2 is a single-columned table, it can't have columns a and b.
July 27, 2004 at 11:20 pm
The answer given for this question is incorrect.
If the second query is,
select myOrd.Order_No, myiT.Item_No, myOrd.Unique_ID as 'Unique_ID', myit.unique_id
FROM myOrders myOrd
JOIN myItems myiT
ON myOrd.Order_No = myiT.Order_No
Order BY UNIQUE_ID desc
then,...
July 27, 2004 at 10:57 pm
Thanks Marshall for the info. It really is a very useful article.
July 19, 2004 at 10:47 pm
If you created the subscriber using T-SQL, then in the following query, you would specify the "SubscriberName" to be Server2 and the SubscriptionName should be specified as "DatabaseB"
EXECUTE sp_addsubscription ...
June 28, 2004 at 4:48 am
Allen's Query can be simplified as follows:
DECLARE @date1 DATETIME
DECLARE @date2 DATETIME
SELECT @date1 = '2004-05-11 00:00:00'
SELECT @date2 = '2004-05-09 11:45:00'
SELECT CAST((DATEDIFF(mi, @date2, @date1) / 60) AS VARCHAR(5)) + ':' + CAST((DATEDIFF(mi,...
June 17, 2004 at 10:45 pm
I don't think that there is any other solution. In the solution that I gave, you can increase the size to be 8000 and change the datatype to varchar.
regards,
Beulah Kingsly
June 16, 2004 at 2:51 am
I don't have a solution with a single query. But if you are using SQL 2000, you can make use of a Scalar user defined function to concatenate the remarks column...
June 16, 2004 at 1:00 am
Assuming the table name to be CurrencyRates and the given dates as @StartDate and @EndDate, the Query would be
SELECT
[Currency Rate Code],
COUNT(*)
FROM
CurrencyRates
WHERE
[Rate Year] BETWEEN YEAR(@StartDate) AND YEAR(@EndDate)
AND
[Rate...
June 15, 2004 at 4:45 am
Viewing 15 posts - 16 through 30 (of 33 total)