diff options
author | Ocke Janssen <oj@openoffice.org> | 2002-11-07 07:41:59 +0000 |
---|---|---|
committer | Ocke Janssen <oj@openoffice.org> | 2002-11-07 07:41:59 +0000 |
commit | 667e4ce453196687e19c12daf77a89c076f24740 (patch) | |
tree | 48c4046c51faa134a6377462dd55f218263f22f5 /connectivity/inc | |
parent | 7fb4f9d032fb80e4adbd1c7be729f7e7e2e1a310 (diff) |
#104781# new method for SQL CREATE TABLE statement
Diffstat (limited to 'connectivity/inc')
-rw-r--r-- | connectivity/inc/connectivity/dbtools.hxx | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/connectivity/inc/connectivity/dbtools.hxx b/connectivity/inc/connectivity/dbtools.hxx index eaa9ba0fc98e..6be21f27c1ae 100644 --- a/connectivity/inc/connectivity/dbtools.hxx +++ b/connectivity/inc/connectivity/dbtools.hxx @@ -2,9 +2,9 @@ * * $RCSfile: dbtools.hxx,v $ * - * $Revision: 1.18 $ + * $Revision: 1.19 $ * - * last change: $Author: oj $ $Date: 2002-10-25 08:55:57 $ + * last change: $Author: oj $ $Date: 2002-11-07 08:41:59 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -414,6 +414,17 @@ namespace dbtools ::rtl::OUString createStandardColumnPart( const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet >& descriptor, const ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XConnection>& _xConnection); + /** creates a SQL CREATE TABLE statement + @param descriptor + The descriptor of the new table. + @param _xConnection + The connection. + @return + The CREATE TABLE statement. + */ + ::rtl::OUString createSqlCreateTableStatement( const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet >& descriptor, + const ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XConnection>& _xConnection); + /** creates a SDBC column with the help of getColumns. @param _xTable The table. |