mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-09-01 15:52:41 -06:00
MSSQL package (ODBC based)
git-svn-id: svn://ultimatepp.org/upp/trunk@1083 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
1025de3d5d
commit
2f309d3972
9 changed files with 231 additions and 71 deletions
12
uppsrc/MSSQL/MSSQL.cpp
Normal file
12
uppsrc/MSSQL/MSSQL.cpp
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
#include "MSSQL.h"
|
||||
|
||||
namespace Upp {
|
||||
|
||||
String MsSqlTextType(int width)
|
||||
{
|
||||
if(width <= 4000)
|
||||
return NFormat("varchar(%d)", width);
|
||||
return "text";
|
||||
}
|
||||
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue