Lines Matching refs:aSql
166 ::rtl::OUStringBuffer aSql; in appendObject()
167 aSql.appendAscii("ALTER TABLE "); in appendObject()
171 …aSql.append(composeTableName( m_pTable->getConnection()->getMetaData(), m_pTable, ::dbtools::eInTa… in appendObject()
172 aSql.appendAscii(" ADD "); in appendObject()
176 aSql.appendAscii(" PRIMARY KEY ("); in appendObject()
180 aSql.appendAscii(" FOREIGN KEY ("); in appendObject()
191 aSql.appendAscii(","); in appendObject()
193 …aSql.append( ::dbtools::quoteName( aQuote,getString(xColProp->getPropertyValue(rPropMap.getNameByI… in appendObject()
196 aSql.appendAscii(")"); in appendObject()
200 aSql.appendAscii(" REFERENCES "); in appendObject()
201 …aSql.append(::dbtools::quoteTableName(m_pTable->getConnection()->getMetaData(),sReferencedName,::d… in appendObject()
202 aSql.appendAscii(" ("); in appendObject()
207 aSql.appendAscii(","); in appendObject()
209 …aSql.append(::dbtools::quoteName( aQuote,getString(xColProp->getPropertyValue(rPropMap.getNameByIn… in appendObject()
212 aSql.appendAscii(")"); in appendObject()
213 aSql.append(getKeyRuleString(sal_True ,nUpdateRule)); in appendObject()
214 aSql.append(getKeyRuleString(sal_False ,nDeleteRule)); in appendObject()
218 xStmt->execute(aSql.makeStringAndClear()); in appendObject()
283 ::rtl::OUStringBuffer aSql; in dropObject()
284 aSql.appendAscii("ALTER TABLE "); in dropObject()
286 …aSql.append( composeTableName( m_pTable->getConnection()->getMetaData(), m_pTable,::dbtools::eInTa… in dropObject()
296 aSql.appendAscii(" DROP PRIMARY KEY"); in dropObject()
300 aSql.append(getDropForeignKey()); in dropObject()
302 aSql.append( ::dbtools::quoteName( aQuote,_sElementName) ); in dropObject()
308 xStmt->execute(aSql.makeStringAndClear()); in dropObject()