This is a discussion on SQL-DMO header file for javascript? within the SQL Server forums, part of the Microsoft SQL Server category; --> I've been searching (unsuccessfully) for a "header file" for SQL-DMO constants, for use with javascript. E.g., I'd like to ...
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| I've been searching (unsuccessfully) for a "header file" for SQL-DMO constants, for use with javascript. E.g., I'd like to specify options for the Script method: var ScriptOpts = SQLDMOScript_PrimaryObject + SQLDMOScript_OwnerQualify + SQLDMOScript_ObjectPermissions + SQLDMOScript_Indexes + SQLDMOScript_DRI_AllConstraints; var TSQL = oTable.Script(ScriptOpts); but the SQLDMOScript_xxxx variables are undefined. I'm looking for an "include" file that defines these constants, similar to the "adojavas.js" file. Worst case, I can convert the sqldmo.h file, for C, to javascript; but I'd rather not "re-mutilate" the wheel. (SQL Server 2000, Win2000 Server). Thanks, Larry |