I have done this as well but it still seems like I had to stop the
appservers. I dialed in over the weekend when no one was using the
system.
________________________________
From:
vantage@yahoogroups.com [mailto:
vantage@yahoogroups.com] On Behalf
Of Gerard Wadman
Sent: Wednesday, March 14, 2007 12:48 PM
To:
vantage@yahoogroups.com
Subject: RE: [Vantage] OpenEdge 10 - Trying to create a view
To create the new schema, open sql explorer and type the following:
"Create user <username>, <password>;"
"commit";
Ie .... CREATE USER ODBCUSER,VANTAGE;
After that you can create your view:
CREATE VIEW ODBCUSER.JobHeadView AS
SELECT * FROM PUB.JobHead
WITH CHECK OPTION;
COMMIT;
Then grant the select privilege on the new view:
GRANT SELECT ON ODBC.JOBHEADVIEW TO ODBCUSER;
COMMIT;
I've received conflicting opinions as to whether the final step is
nescesary since ODBCUSER is actually the schema owner but I do it
anyway.
________________________________
From:
vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com>
[mailto:
vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com> ] On
Behalf
Of Joe Rojas
Sent: Wednesday, March 14, 2007 12:08 PM
To:
vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com>
Subject: RE: [Vantage] OpenEdge 10 - Trying to create a view
This sounds like a great idea Gerard.
Only problem is that I wouldn't know where to start :-)
Can you offer some guidance?
Thanks,
Joe Rojas
IT Manager
TNCO, Inc.
781-447-6661 x7506
jrojas@... <mailto:jrojas%40tnco-inc.com>
<mailto:jrojas%40tnco-inc.com>
________________________________
From:
vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com>
<mailto:vantage%40yahoogroups.com>
[mailto:
vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com>
<mailto:vantage%40yahoogroups.com> ] On
Behalf
Of Gerard Wadman
Sent: Wednesday, March 14, 2007 11:25 AM
To:
vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com>
<mailto:vantage%40yahoogroups.com>
Subject: RE: [Vantage] OpenEdge 10 - Trying to create a view
Joe,
I have several views that I have created within a separate
schema that I created.
I create views on the fly within it all the time without any errors or
having to boot anyone. I also like that approach as it segragates my
views from the Vantage tables inside of the PUB schema.
Just a suggestion.
Regards
________________________________
From:
vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com>
<mailto:vantage%40yahoogroups.com>
<mailto:vantage%40yahoogroups.com>
[mailto:
vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com>
<mailto:vantage%40yahoogroups.com>
<mailto:vantage%40yahoogroups.com> ] On
Behalf
Of Joe Rojas
Sent: Wednesday, March 14, 2007 11:08 AM
To:
vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com>
<mailto:vantage%40yahoogroups.com>
<mailto:vantage%40yahoogroups.com>
Subject: RE: [Vantage] OpenEdge 10 - Trying to create a view
Thanks Gerard...I should have started there. :-)
Thanks,
Joe Rojas
IT Manager
TNCO, Inc.
781-447-6661 x7506
jrojas@... <mailto:jrojas%40tnco-inc.com>
<mailto:jrojas%40tnco-inc.com>
<mailto:jrojas%40tnco-inc.com>
<mailto:jrojas%40tnco-inc.com>
________________________________
From:
vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com>
<mailto:vantage%40yahoogroups.com>
<mailto:vantage%40yahoogroups.com>
<mailto:vantage%40yahoogroups.com>
[mailto:
vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com>
<mailto:vantage%40yahoogroups.com>
<mailto:vantage%40yahoogroups.com>
<mailto:vantage%40yahoogroups.com> ] On
Behalf
Of Gerard Wadman
Sent: Wednesday, March 14, 2007 10:41 AM
To:
vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com>
<mailto:vantage%40yahoogroups.com>
<mailto:vantage%40yahoogroups.com>
<mailto:vantage%40yahoogroups.com>
Subject: RE: [Vantage] OpenEdge 10 - Trying to create a view
Progress Knowledge Base
http://progress.atgnow.com/esprogress/resultDisplay.do?gotoLink=129&docT
<
http://progress.atgnow.com/esprogress/resultDisplay.do?gotoLink=129&doc
T>
<
http://progress.atgnow.com/esprogress/resultDisplay.do?gotoLink=129&doc
<
http://progress.atgnow.com/esprogress/resultDisplay.do?gotoLink=129&doc
>
T>
<
http://progress.atgnow.com/esprogress/resultDisplay.do?gotoLink=129&doc
<
http://progress.atgnow.com/esprogress/resultDisplay.do?gotoLink=129&doc
>
<
http://progress.atgnow.com/esprogress/resultDisplay.do?gotoLink=129&doc
<
http://progress.atgnow.com/esprogress/resultDisplay.do?gotoLink=129&doc
>
>
T>
<
http://progress.atgnow.com/esprogress/resultDisplay.do?gotoLink=129&doc
<
http://progress.atgnow.com/esprogress/resultDisplay.do?gotoLink=129&doc
>
<
http://progress.atgnow.com/esprogress/resultDisplay.do?gotoLink=129&doc
<
http://progress.atgnow.com/esprogress/resultDisplay.do?gotoLink=129&doc
>
>
<
http://progress.atgnow.com/esprogress/resultDisplay.do?gotoLink=129&doc
<
http://progress.atgnow.com/esprogress/resultDisplay.do?gotoLink=129&doc
>
<
http://progress.atgnow.com/esprogress/resultDisplay.do?gotoLink=129&doc
<
http://progress.atgnow.com/esprogress/resultDisplay.do?gotoLink=129&doc
>
>
>
T>
<
http://progress.atgnow.com/esprogress/resultDisplay.do?gotoLink=129&doc
<
http://progress.atgnow.com/esprogress/resultDisplay.do?gotoLink=129&doc
>
<
http://progress.atgnow.com/esprogress/resultDisplay.do?gotoLink=129&doc
<
http://progress.atgnow.com/esprogress/resultDisplay.do?gotoLink=129&doc
>
>
<
http://progress.atgnow.com/esprogress/resultDisplay.do?gotoLink=129&doc
<
http://progress.atgnow.com/esprogress/resultDisplay.do?gotoLink=129&doc
>
<
http://progress.atgnow.com/esprogress/resultDisplay.do?gotoLink=129&doc
<
http://progress.atgnow.com/esprogress/resultDisplay.do?gotoLink=129&doc
>
>
>
<
http://progress.atgnow.com/esprogress/resultDisplay.do?gotoLink=129&doc
<
http://progress.atgnow.com/esprogress/resultDisplay.do?gotoLink=129&doc
>
<
http://progress.atgnow.com/esprogress/resultDisplay.do?gotoLink=129&doc
<
http://progress.atgnow.com/esprogress/resultDisplay.do?gotoLink=129&doc
>
>
<
http://progress.atgnow.com/esprogress/resultDisplay.do?gotoLink=129&doc
<
http://progress.atgnow.com/esprogress/resultDisplay.do?gotoLink=129&doc
>
<
http://progress.atgnow.com/esprogress/resultDisplay.do?gotoLink=129&doc
<
http://progress.atgnow.com/esprogress/resultDisplay.do?gotoLink=129&doc
>
>
>
>
T>
ype=1006&contextId=14621%3A129.188&clusterName=CombinedCluster&contentId
=d90b3c6e-23c3-4ef8-a813-63c3fb3ec84d&responseId=a6b23249f80b7ff7%3A1b1f
bf4%3A1114f239f98%3A3ad6&groupId=3&answerGroup=4&score=980&page=http%3A%
2F%2Fprogress.atgnow.com%2Fesprogress%2Fdocs%2FSolutions%2FProgress%2FES
ERVER_P26368.xhtml&result=3&excerpt=Failure+to+acquire+exclusive+schema+
lock+for+DDL+operation.&resultType=5002#Goto129
Gerard M Wadman
Sr. Network Systems Engineer
Scandius BioMedical Inc.
11A Beaver Brook Road
Littleton, MA 01460
978/486-4088 x 124
978/486-4108 (fax)
http://www.scandius.com/ <
http://www.scandius.com/>
<
http://www.scandius.com/ <
http://www.scandius.com/> >
<
http://www.scandius.com/ <
http://www.scandius.com/>
<
http://www.scandius.com/ <
http://www.scandius.com/> > >
<
http://www.scandius.com/ <
http://www.scandius.com/>
<
http://www.scandius.com/ <
http://www.scandius.com/> >
<
http://www.scandius.com/ <
http://www.scandius.com/>
<
http://www.scandius.com/ <
http://www.scandius.com/> > > >
<
http://www.scandius.com/ <
http://www.scandius.com/>
<
http://www.scandius.com/ <
http://www.scandius.com/> >
<
http://www.scandius.com/ <
http://www.scandius.com/>
<
http://www.scandius.com/ <
http://www.scandius.com/> > >
<
http://www.scandius.com/ <
http://www.scandius.com/>
<
http://www.scandius.com/ <
http://www.scandius.com/> >
<
http://www.scandius.com/ <
http://www.scandius.com/>
<
http://www.scandius.com/ <
http://www.scandius.com/> > > > >
This e-mail is for the use of the intended recipient(s) only. If you
have received this e-mail in error, please notify the sender immediately
and then delete it. If you are not the intended recipient, you must not
use, disclose or distribute this e-mail without the author's prior
permission. We have taken precautions to minimize the risk of
transmitting software viruses, but we advise you to carry out your own
virus checks on any attachment to this message. We do not accept
liability for any loss or damage caused by software viruses
________________________________
From:
vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com>
<mailto:vantage%40yahoogroups.com>
<mailto:vantage%40yahoogroups.com>
<mailto:vantage%40yahoogroups.com>
<mailto:vantage%40yahoogroups.com>
[mailto:
vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com>
<mailto:vantage%40yahoogroups.com>
<mailto:vantage%40yahoogroups.com>
<mailto:vantage%40yahoogroups.com>
<mailto:vantage%40yahoogroups.com> ] On
Behalf
Of Joe Rojas
Sent: Wednesday, March 14, 2007 10:29 AM
To:
vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com>
<mailto:vantage%40yahoogroups.com>
<mailto:vantage%40yahoogroups.com>
<mailto:vantage%40yahoogroups.com>
<mailto:vantage%40yahoogroups.com>
Subject: [Vantage] OpenEdge 10 - Trying to create a view
Hello,
I am trying to create a view against JobHead because there are too many
indexes for Microsoft Access.
I am using the following SQL statements to create this view:
CREATE VIEW PUB.JobHeadView AS
SELECT * FROM PUB.JobHead
WITH CHECK OPTION;
COMMIT;
When I execute these statements I get an error message that reads:
=== Statement 1. ===
CREATE VIEW PUB.JobHeadView AS
SELECT * FROM PUB.JobHead
WITH CHECK OPTION;
=== SQL Exception 1 ===
SQLState=HY000
ErrorCode=-210017
[JDBC OpenEdge Driver]:Failure to acquire exclusive schema lock for DDL
operation. (7872)
Does this imply that all users must be out of Vantage before I can
execute this statement?
Thanks,
Joe Rojas
IT Manager
TNCO, Inc.
781-447-6661 x7506
jrojas@... <mailto:jrojas%40tnco-inc.com>
<mailto:jrojas%40tnco-inc.com>
<mailto:jrojas%40tnco-inc.com>
<mailto:jrojas%40tnco-inc.com>
<mailto:jrojas%40tnco-inc.com>
<mailto:jrojas%40tnco-inc.com>
[Non-text portions of this message have been removed]
[Non-text portions of this message have been removed]
[Non-text portions of this message have been removed]
[Non-text portions of this message have been removed]
[Non-text portions of this message have been removed]
[Non-text portions of this message have been removed]
This is an e-mail from Saab Barracuda LLC. It is for the intended recipient only and may contain confidential and privileged information. No one else may read, print, store, copy, forward or act in reliance on it or its attachments. If you are not the intended recipient, please return this message to the sender and delete the message and any attachments from your computer. Your cooperation is appreciated.
###########################################
This message has been scanned by F-Secure Anti-Virus for Microsoft Exchange.
For more information, connect to
http://www.f-secure.com/
[Non-text portions of this message have been removed]