Viewing 15 posts - 151 through 165 (of 233 total)
Look at your code where you are unioning 2 select.
They are not mapped right.
In the first select 0 AS NONBILLABLE should come after TSC.TaskCategory AS Category.
May 4, 2013 at 9:46 am
Something like this will work. You have to validate this in your environment. That's whay people ask you to post code in case you need quick answers.
WITH DupCTE
(ROBumber,ROTime,Ranking)AS
(SELECT ROBumber,ROTime,...
May 3, 2013 at 2:04 pm
I have given you all the steps in thred
http://www.sqlservercentral.com/Forums/Topic1447153-291-1.aspx#bm1447334
But again here it is.
•Set up Publication.
•Set transaction retention to 120 hours for distribution
•Disable the distribution clean up job on...
May 3, 2013 at 1:12 pm
You have to specify N before literals to say that to SQL that this is unicode.
Like in the below example :-
insert into Test(str)values(N'gîte')-- this is word for house...
May 3, 2013 at 1:04 pm
Yes you can create partition on date column.
refer to :-
http://msdn.microsoft.com/en-us/library/ms345146(v=sql.90).aspx
May 3, 2013 at 12:49 pm
This is the strangest thing I have heard. I never have heard anything like that before. But I have 1 question is it 45mb or GB?
May 3, 2013 at 12:44 pm
That's why I asked to read BOL on transaction log management.
Now you have got Gail's attention. You will have an answer.
May 3, 2013 at 10:40 am
Do a select on sys.sysdatabases to find if Db_test exists.
On the other note why you want to shrink log file? If mast always take regular backup of TLogs.
Read some BOL...
May 3, 2013 at 10:06 am
Use this.
if exists (select 1
from sys.databases
where is_published = 1 or is_subscribed = 1 or
is_merge_published = 1 or is_distributor = 1)
begin
--yourcode
...
May 3, 2013 at 9:58 am
I am not sure what is your question. But what I am trying to say that you do not need to create publication every time you want to add articles....
May 3, 2013 at 6:46 am
No. For the first time you can set up replication initiated from backup. Then use sp_addarticle for adding new tables.
May 3, 2013 at 4:26 am
Use sp_addarticle on both publisher and subscriber because in P2P all servers are publishers AND subscribers.
May 2, 2013 at 7:11 am
You can create indexed view on the Publisher based on your filter criteria and publish that view.
May 1, 2013 at 12:52 pm
With all the things you explained earlier I want to add that keep learning new features of the technology you are using.
May 1, 2013 at 12:31 pm
Viewing 15 posts - 151 through 165 (of 233 total)