erica
11/12/2018, 5:14 PMvarchar(MAX)
for table definition? I need to insert more than 8000 chars. I’m using DSL and SQL.christophsturm
11/12/2018, 5:24 PMtext("bla")
?erica
11/12/2018, 5:34 PMtext
is planned to be deprecated in the future version of SQL…christophsturm
11/12/2018, 5:38 PMtapac
11/13/2018, 6:37 AMtext
deprecation, could you share a some links?
Also, you may create your own column type:
class VarCharMaxColumnType(collate: String? = null): StringColumnType(collate) {
override fun sqlType(): String = buildString {
append("VARCHAR(MAX)")
if (collate != null) {
append(" COLLATE $collate")
}
}
}
fun varcharMax(name: String, collate: String? = null): Column<String> = registerColumn(name, VarCharMaxColumnType(collate))
erica
11/13/2018, 4:46 PMchristophsturm
11/13/2018, 4:54 PM