Lines Matching refs:createFromAscii
63 aTypes[0] = ::rtl::OUString::createFromAscii("%"); in createObject()
110 ::rtl::OUString aSql = ::rtl::OUString::createFromAscii("CREATE TABLE "); in setComments()
116 aSql = ::rtl::OUString::createFromAscii("COMMENT ON TABLE "); in setComments()
123 + ::rtl::OUString::createFromAscii(" '") in setComments()
125 + ::rtl::OUString::createFromAscii("'"); in setComments()
133 aSql = ::rtl::OUString::createFromAscii("COMMENT ON COLUMN "); in setComments()
148 + ::rtl::OUString::createFromAscii(" '") in setComments()
150 + ::rtl::OUString::createFromAscii("'"); in setComments()
173 ::rtl::OUString aSql = ::rtl::OUString::createFromAscii("DROP "); in dropObject()
178 …:getPropMap().getNameByIndex(PROPERTY_ID_TYPE))) == ::rtl::OUString::createFromAscii("VIEW")))) //… in dropObject()
179 aSql += ::rtl::OUString::createFromAscii("VIEW "); in dropObject()
181 aSql += ::rtl::OUString::createFromAscii("TABLE "); in dropObject()
200 ::rtl::OUString aSql = ::rtl::OUString::createFromAscii("CREATE TABLE "); in createTable()
214 + ::rtl::OUString::createFromAscii(" ("); in createTable()
233 aSql += ::rtl::OUString::createFromAscii(" "); in createTable()
236 aSql += ::rtl::OUString::createFromAscii(","); in createTable()
266 aSql += ::rtl::OUString::createFromAscii(" PRIMARY KEY ("); in createTable()
271 + ::rtl::OUString::createFromAscii(","); in createTable()
274 aSql = aSql.replaceAt(aSql.getLength()-1,1,::rtl::OUString::createFromAscii(")")); in createTable()
283 aSql += ::rtl::OUString::createFromAscii(" UNIQUE ("); in createTable()
288 + ::rtl::OUString::createFromAscii(","); in createTable()
291 aSql = aSql.replaceAt(aSql.getLength()-1,1,::rtl::OUString::createFromAscii(")")); in createTable()
302 aSql += ::rtl::OUString::createFromAscii(" FOREIGN KEY "); in createTable()
310 + ::rtl::OUString::createFromAscii(" ("); in createTable()
316 + ::rtl::OUString::createFromAscii(","); in createTable()
319 aSql = aSql.replaceAt(aSql.getLength()-1,1,::rtl::OUString::createFromAscii(")")); in createTable()
324 aSql += ::rtl::OUString::createFromAscii(" ON DELETE CASCADE "); in createTable()
327 aSql += ::rtl::OUString::createFromAscii(" ON DELETE RESTRICT "); in createTable()
330 aSql += ::rtl::OUString::createFromAscii(" ON DELETE SET NULL "); in createTable()
333 aSql += ::rtl::OUString::createFromAscii(" ON DELETE SET DEFAULT "); in createTable()
344 aSql = aSql.replaceAt(aSql.getLength()-1,1,::rtl::OUString::createFromAscii(")")); in createTable()
346 aSql += ::rtl::OUString::createFromAscii(")"); in createTable()
376 sSql += ::rtl::OUString::createFromAscii("VAR"); in getColumnSqlType()
379 sSql += ::rtl::OUString::createFromAscii("CHAR"); in getColumnSqlType()
387 sSql += OTables::getTypeString(_rxColProp) + ::rtl::OUString::createFromAscii(" "); in getColumnSqlType()
397 sSql += ::rtl::OUString::createFromAscii("(") in getColumnSqlType()
399 + ::rtl::OUString::createFromAscii(")"); in getColumnSqlType()
404 sSql += ::rtl::OUString::createFromAscii("(") in getColumnSqlType()
406 + ::rtl::OUString::createFromAscii(",") in getColumnSqlType()
408 + ::rtl::OUString::createFromAscii(")"); in getColumnSqlType()
412 sSql += ::rtl::OUString::createFromAscii("(") in getColumnSqlType()
414 + ::rtl::OUString::createFromAscii(") BYTE"); in getColumnSqlType()
427 sSql += ::rtl::OUString::createFromAscii(" NOT NULL"); in getColumnSqlNotNullDefault()
429 sSql += ::rtl::OUString::createFromAscii(" WITH DEFAULT"); in getColumnSqlNotNullDefault()
433 sSql +=::rtl::OUString::createFromAscii(" DEFAULT '") + aDefault; in getColumnSqlNotNullDefault()
434 sSql += ::rtl::OUString::createFromAscii("'"); in getColumnSqlNotNullDefault()
445 aValue = ::rtl::OUString::createFromAscii("BOOLEAN"); in getTypeString()
448 aValue = ::rtl::OUString::createFromAscii("SMALLINT"); in getTypeString()
451 aValue = ::rtl::OUString::createFromAscii("SMALLINT"); in getTypeString()
454 aValue = ::rtl::OUString::createFromAscii("INT"); in getTypeString()
457 aValue = ::rtl::OUString::createFromAscii("FLOAT"); in getTypeString()
460 aValue = ::rtl::OUString::createFromAscii("REAL"); in getTypeString()
463 aValue = ::rtl::OUString::createFromAscii("DOUBLE"); in getTypeString()
466 aValue = ::rtl::OUString::createFromAscii("DECIMAL"); in getTypeString()
469 aValue = ::rtl::OUString::createFromAscii("DECIMAL"); in getTypeString()
472 aValue = ::rtl::OUString::createFromAscii("CHAR"); in getTypeString()
475 aValue = ::rtl::OUString::createFromAscii("VARCHAR"); in getTypeString()
478 aValue = ::rtl::OUString::createFromAscii("LONG VARCHAR"); in getTypeString()
481 aValue = ::rtl::OUString::createFromAscii("DATE"); in getTypeString()
484 aValue = ::rtl::OUString::createFromAscii("TIME"); in getTypeString()
487 aValue = ::rtl::OUString::createFromAscii("TIMESTAMP"); in getTypeString()
490 aValue = ::rtl::OUString::createFromAscii("CHAR () BYTE"); in getTypeString()
493 aValue = ::rtl::OUString::createFromAscii("VARCHAR () BYTE"); in getTypeString()
496 aValue = ::rtl::OUString::createFromAscii("LONG BYTE"); in getTypeString()