public String getInsertTraceExpression(Dataset dataset,int index)
{
Trace trace=dataset.getTraceList().get(index);
String expression="INSERT INTO trace (Station,Network,Channel,StartTime,EndTime,Samples,Frequency,DatasetID) VALUES" +
" (\""+trace.getStation()+"\",\""+
trace.getNetwork()+"\",\""+
trace.getChannel()+"\",\""+
trace.getStartTime()+"\",\""+
trace.getEndTime()+"\",\""+
trace.getSamples()+"\",\""+
trace.getFrequency()+"\",\""+
dataset.getDatasetId()+"\""+
");";
return expression;
}