Searching the Help
To search for information in the Help, type a word or phrase in the Search box. When you enter a group of words, OR is inferred. You can use Boolean operators to refine your search.
Results returned are case insensitive. However, results ranking takes case into account and assigns higher scores to case matches. Therefore, a search for "cats" followed by a search for "Cats" would return the same number of Help topics, but the order in which the topics are listed would be different.
Search for | Example | Results |
---|---|---|
A single word | cat
|
Topics that contain the word "cat". You will also find its grammatical variations, such as "cats". |
A phrase. You can specify that the search results contain a specific phrase. |
"cat food" (quotation marks) |
Topics that contain the literal phrase "cat food" and all its grammatical variations. Without the quotation marks, the query is equivalent to specifying an OR operator, which finds topics with one of the individual words instead of the phrase. |
Search for | Operator | Example |
---|---|---|
Two or more words in the same topic |
|
|
Either word in a topic |
|
|
Topics that do not contain a specific word or phrase |
|
|
Topics that contain one string and do not contain another | ^ (caret) |
cat ^ mouse
|
A combination of search types | ( ) parentheses |
|
- Database parameters
- alignradsensitivitywithdb
- allowunsupporteddbversion
- dbcachequery
- generateIndexDDL
- [oracle]
- [oracle_replicate]
- pgschema
- [postgresql]
- [sqlserver]
- [sqlserver_replicate]
- sqladhoccachesize
- sqlalwayson
- sqlautosort
- sqlbatchcount
- sqlcitext
- sqldb
- sqlddldirectory
- sqlddllogging
- sqldebug
- sqldictionary
- sqldictkey
- sqldicttable
- sqldirect
- sqldisconnect
- sqlfetchrows
- sqlfetchs
- sqljoinsok
- sqllibrary
- sqllimit
- sqllockretry
- sqllockwait
- sqllogin
- sqlloginretry
- sqlloginwait
- sqlnullclause
- sqlouterjoins
- sqlreuseablesql
- sqlstats
- sqltextdateformat
- sql_oracle_binary_ci
- sqltz
- sqlupper
- system_addconstraint
- system_createupperindex
- util
- wildcardcharacters
Parameter: system_addconstraint
Startup parameters change the behavior of the Service Manager server. You can always set a startup parameter from the server's operating system command prompt.
Parameter
system_addconstraint
Description
The system_addconstraint parameter adds a Not Null constraint to the first unique key or converts the unique key to a primary key for the specified database tables, depending on usage. The system_addconstraint parameter takes the following two arguments:
-
The target tables: Specify "all" to update all tables or specify a list of tables separated by commas. If no tables are specified, running this command will do nothing but bring up the parameter help.
-
Behavior:
-
0
adds a "Not Null" constraint on the first unique key of the specified tables (if no unique key or primary key exists, Service Manager adds the constraint to the RECORD_KEY field). -
1
converts the first unique key of the specified tables to primary keys (if there is no unique or primary key, Service Manager converts the RECORD_KEYfield to primary key) . -
2
converts the first unique key of the specified tables to primary keys by using the full-table copy mechanism. Running this command may take a very long time.
Note This parameter can only be set from an operating system command prompt.
-
Valid if set from
Server's operating system command prompt
Requires restart of the Service Manager server?
You should run this command only when the Service Manager server is shutdown.
Default value
0 (By default, this parameter does nothing.)
Possible values
all:0
- Adds a "Not Null" constraint to the first unique key of all tables in the system.
all:1
- Converts the first unique key of all tables in the system to a primary key.
all:2
- Force a full table copy to convert the first unique key of all tables to a primary key in case you cannot convert the first unique key to a primary key in an MS SQL Server database.
[A comma separated list of tables]:0 - Adds a "Not Null" constraint only to the first unique key of the specified tables.
[A comma separated list of tables]:1 - Converts the first unique key of the specified tables to primary keys.
[A comma separated list of tables]:2 - Converts the first unique key of the specified tables to primary keys by using the full-table copy mechanism. Running this command may take a very long time..
Example usage
Command line: sm -system_addconstraint:all:1
Command line: sm -system_addconstraint:probsummary,incidents:0
Command line: sm -system_addconstraint:operator:2
Related topics
Working with primary keys
Enter a parameter in the sm.ini file