View in DDT with subquery
 
Home My Account Forum Try It! Buy It!
About Contact Us Site Map
StrataFrame Forum
Home      Members   Calendar   Who's On
Welcome Guest ( Login | Register )
      



View in DDT with subqueryExpand / Collapse
Author
Message
Posted 05/08/2008 1:37:50 PM
StrataFrame Beginner

StrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame Beginner

Group: StrataFrame Users
Last Login: 05/12/2008 2:35:16 PM
Posts: 12, Visits: 48
Hello!

I'm trying to create a view with subquery in DDT but when I see the fields of view, appears only in the field you search subquery.

It has another way to achieve this?

Thank you

  Post Attachments 
ScreenHunter_01 May. 08 15.11.gif (12 views, 22.13 KB)
ScreenHunter_03 May. 08 15.12.gif (9 views, 8.63 KB)

Post #16255
Posted 05/09/2008 9:45:54 AM


StrataFrame Developer

StrataFrame Developer

Group: StrataFrame Developers
Last Login: Yesterday @ 3:24:00 PM
Posts: 3,733, Visits: 3,926
Well,

Don't rely on that message window nor the fields it may (or may not) show once the view is closed.  We have a simple RegEx pattern that attempts to parse out the table and some of the view details...but it is not 100% by any means.  We did not feel like going to the energy of SQL Server to totally and 100% validate and parse a view since there are so many combinations.  The important thing is...does it execute properly once deployed?  That is really all that matters.

Post #16291
Posted 05/12/2008 7:38:49 AM
StrataFrame Beginner

StrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame Beginner

Group: StrataFrame Users
Last Login: 05/12/2008 2:35:16 PM
Posts: 12, Visits: 48
Hi Trent,

When orders to deploy in a DDT, the deploy stop and appears a error message talking about this view.

Is attached the error message.

Thanks


  Post Attachments 
ScreenHunter_05 May. 12 09.38.gif (11 views, 12.24 KB)
Post #16319
Posted 05/12/2008 8:04:56 AM


StrataFrame Developer

StrataFrame Developer

Group: StrataFrame Developers
Last Login: Yesterday @ 3:24:00 PM
Posts: 3,733, Visits: 3,926
The error that you are getting is coming from SQL Server....do you mind translating the error message?  Sorry
Post #16321
Posted 05/12/2008 8:17:22 AM


Advanced StrataFrame User

Advanced StrataFrame UserAdvanced StrataFrame UserAdvanced StrataFrame UserAdvanced StrataFrame UserAdvanced StrataFrame UserAdvanced StrataFrame UserAdvanced StrataFrame UserAdvanced StrataFrame User

Group: StrataFrame Users
Last Login: Yesterday @ 4:54:54 PM
Posts: 551, Visits: 10,431
Invalid object. Extended properties are not allowed in 'dbo.sysProjetPropoestaBO_lkp' or the object doesn't exist.
Post #16323
Posted 05/12/2008 8:35:28 AM
StrataFrame Beginner

StrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame Beginner

Group: StrataFrame Users
Last Login: 05/12/2008 2:35:16 PM
Posts: 12, Visits: 48
Oh, i'm sorry... The message:

Invalid object. They are not allowed in properties extended dbo.SysProjetoPropostaBO_lkp or the object does not exist.



Thanks
Post #16324
Posted 05/12/2008 9:07:08 AM


StrataFrame Developer

StrataFrame Developer

Group: StrataFrame Developers
Last Login: Yesterday @ 3:24:00 PM
Posts: 3,733, Visits: 3,926
What version of SQL Server are you trying to deploy to?  First, try to deploy a new instance of your database to a SQL Server 2005 instance (Express is fine).  This will just prove that the package is fine.  If you are deploying to SQL Server 2000 then you will want to be sure and download either the latest 1.6.5 build or the 1.6.6 beta as there was an issue in regards to the extended properties at one point a while back.

When the DDT deploys, it flags the database, UDFs, views, and sprocs with an extended property that indicates that the component was deployed using the DDT, so if a DBA or some other IT person adds their own views, UDFs, sprocs, etc. it will not remove them when updating.  That is what is giving you the error it would seem.

So version details, etc. will be helpful.  Thanks.

Post #16326
Posted 05/12/2008 11:09:15 AM
StrataFrame Beginner

StrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame Beginner

Group: StrataFrame Users
Last Login: 05/12/2008 2:35:16 PM
Posts: 12, Visits: 48
Sql Server 2005 Express
Strataframe 1.6.5
Post #16332