<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Hi John:<BR>
&nbsp;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; I don't see a reason for a second attach.<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Your PRIMARY and DESIGNER should be able to share the same attach.<BR>
&nbsp;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; The underlining SQL should be able to handle a second&nbsp;OPEN CURSOR&nbsp;within<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; a FETCH NEXT loop.<BR>
&nbsp;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Regards,<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Peter<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR><BR><BR>
<BLOCKQUOTE>
<HR>
Date: Thu, 12 Jun 2008 08:33:07 -0700<BR>From: resolutebay@yahoo.com<BR>Subject: Table Alias'ing<BR>To: powerh-l@lists.sowder.com<BR><BR>
<DIV>Greetings Listers:</DIV>
<DIV>&nbsp;</DIV>
<DIV>I am under the impression/assumption that under the following conditions a second attach is made to the database: Powerhouse 7.10e DEC SQL V6.1-13:</DIV>
<DIV>&nbsp;</DIV>
<DIV>Example #1:</DIV>
<DIV>&nbsp;</DIV>
<DIV>FILE OBLIGATION ALIAS OB</DIV>
<DIV>&nbsp;</DIV>
<DIV>I assert that it's (almost) the same as:</DIV>
<DIV>&nbsp;</DIV>
<DIV>Example #2:</DIV>
<DIV>&nbsp;</DIV>
<DIV>FILE OBLIGATION DESIGNER</DIV>
<DIV>&nbsp;</DIV>
<DIV>FILE OBLIGATION designer alias obl</DIV>
<DIV>&nbsp;</DIV>
<DIV>where you must have two separate attaches.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Can anyone please clear up any misapprehension? A colleague here says that the first is only a 'pointer' (his term) situation and no second attach happens.</DIV>
<DIV>&nbsp;</DIV>
<DIV>TIA</DIV>
<DIV>&nbsp;</DIV>
<DIV>JP</DIV>
<BR></BLOCKQUOTE><br /><hr /> <a href='' target='_new'></a></body>
</html>