//
//  ExporterCommon.h
//  SQLEditorUniversal
//
//  Created by Angus Hardie on 12/01/2007.
//  Copyright 2007 MalcolmHardie Solutions Limited and Angus W Hardie. All rights reserved.
//

#import <Cocoa/Cocoa.h>
#import "SQLExporter.h"
#import "SQLTable.h"
#import "GenericSQLExporter.h"

@interface ExporterCommon : NSObject {

}


+ (NSString*)addIndex:(SQLIndex*)index :(SQLTable*)table :(GenericSQLExporter*)e :(BOOL)addSeparator :(BOOL)addCreateInstruction;
+ (NSString*)addIndex:(SQLIndex*)index :(SQLTable*)table :(GenericSQLExporter*)e;

+ (NSString*)addIndex:(SQLIndex*)index 
				table:(SQLTable*)table 
			 exporter:(GenericSQLExporter*)e 
		 addSeparator:(BOOL)addSeparator 
 addCreateInstruction:(BOOL)addCreateInstruction 
	 withTableName:(BOOL)withTableName;



+ (NSString*)fieldTypeWithTimeZone:(SQLField*)field;



+ (NSString*)dropForeignKey:(SQLField*) dbField :(SQLExportDialect*) e;
@end
