Showing posts with label exist. Show all posts
Showing posts with label exist. Show all posts

Sunday, March 25, 2012

Can not delet a publication in SQL server 2005: The publication does not exist [SQL server error

Hi, everyone,

I am new in SQL server 2005. I had setup SQL server 2005 P2P replication. Somehow it did not work one of two way replication. I tried to delete the publication. However I could not do it. have the same problem. When I tried to delete the publication, I got the publication " " does not exist.[SQL server error: 20026]. I tried to use sp_droppublication, it gave me error "the database is not enabled for publication". Nevertheless, I can see the publication in MS SQL Management Studio and Publication monitor with OK status. I could not find the distribution database either.

Could you anyone has ideas to delete this publication? I am sorry I am not a programmer. Please give me more detail explanation if you can. Thanks.

Vincent,

Try sp_droppublication @.publication='publicationName', @.ignore_distributor = 1

If the publisher cannot contact the Distributor, it won't drop the publication. Had the same problem. This worked for me.

-Dan

|||

Hi, Vincent, I think that the database missed the reference tha its a publicator os objects.

Did you recentely made a restore of your database?

If dan`s sugest didnt work, try to verify if your database is enabed to publication(sp_dboption [database]) if publication is not enable do this:

* sp_dboption [database],'publication',true

* sp_droppublication @.publication

Monday, March 19, 2012

Can MSDE and SQL 2000 exist on same box?

Want to Install WSUS with MSDE on a MOM server with SQL2000 SP4. Is
this practical/best practice? Any issues that may arise from this?
Anything that I should look out for? Thanks in advance.
Yes, one will the the 'default' server, and the others will be a named
'instance'. There may be (at times) several different MSDE (or SQL 2005
Express) instances on a server for various applications.
Arnie Rowland, Ph.D.
Westwood Consulting, Inc
Most good judgment comes from experience.
Most experience comes from bad judgment.
- Anonymous
You can't help someone get up a hill without getting a little closer to the
top yourself.
- H. Norman Schwarzkopf
"tc" <tchang73nyc@.yahoo.com> wrote in message
news:1162927224.106887.280150@.h54g2000cwb.googlegr oups.com...
> Want to Install WSUS with MSDE on a MOM server with SQL2000 SP4. Is
> this practical/best practice? Any issues that may arise from this?
> Anything that I should look out for? Thanks in advance.
>

Sunday, February 19, 2012

Can I run SQL2000Dev and SQL2005Exp Side By Side?

Have an asp.net 2.0 application that I want to enable a "demo" version of with the required tables. The tables currently exist in SQL2000Dev on a server. I have installed SQLEXP on a clean box and restored the database to it no problem. Now I want to install SQLEXP on my dev pc side-by-side with the SQLDEV instance. I could not find any reference to this ability other than some warnings about the pre-release versions. Can it be done safely?

Thanks, Paul

Absolutly. Install them to different instance names and it will work just fine.

Regards,

Mike Wachal
SQL Express team

-
Check out my tips for getting your answer faster and how to ask a good question: http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=307712&SiteID=1

Thursday, February 16, 2012

Can I reserve all the rows in Fact table when add the dimension in cube

My fact table join with a dimension table with a foreign key.
But there some foreign key in the fact table which doesn't exist in the
dimension table.
When I add the dimension in cube, all no match rows will be filtered out
Can I reserve all the rows in Fact table when add the dimension in cube?
I'd suggest that as a part of your data load you establish a process which
selects all the foreign keys from fact table that are not found in the
dimension and add them to the datasource for dimension (it can be a table or
a view). Then your dimension and cube will be consistent
Regards,
Ilona Shulman
Senior Development Consultant, DBA
SSE Inc
http://www.sseinc.com
"ad" <ad@.wfes.tcc.edu.tw> wrote in message
news:elh4y1lqEHA.1728@.TK2MSFTNGP10.phx.gbl...
> My fact table join with a dimension table with a foreign key.
> But there some foreign key in the fact table which doesn't exist in the
> dimension table.
> When I add the dimension in cube, all no match rows will be filtered out
> Can I reserve all the rows in Fact table when add the dimension in cube?
>
|||Analysis Services dislike bad data quality.
so you have to insure that all your keys in your fact table exists in your
dimension.
Generally we create an "unknown" member in the dimension.
For example, the key "-1" is the unknown dimension member.
Then every row in the fact table as the -1 as the default value, so if the
dimension member doesn't exists, your fact table contain -1 and can be used
in the cube.
Change your ETL process to do this job.
"ad" <ad@.wfes.tcc.edu.tw> a crit dans le message de news:
elh4y1lqEHA.1728@.TK2MSFTNGP10.phx.gbl...
> My fact table join with a dimension table with a foreign key.
> But there some foreign key in the fact table which doesn't exist in the
> dimension table.
> When I add the dimension in cube, all no match rows will be filtered out
> Can I reserve all the rows in Fact table when add the dimension in cube?
>