MSSQL package (ODBC based)

git-svn-id: svn://ultimatepp.org/upp/trunk@1083 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2009-04-20 20:45:47 +00:00
parent 1025de3d5d
commit 2f309d3972
9 changed files with 231 additions and 71 deletions

12
uppsrc/MSSQL/MSSQL.cpp Normal file
View file

@ -0,0 +1,12 @@
#include "MSSQL.h"
namespace Upp {
String MsSqlTextType(int width)
{
if(width <= 4000)
return NFormat("varchar(%d)", width);
return "text";
}
};