sp_post_xpload

Description

Checks and rebuilds indexes after a cross-platform load database where the endian types are different.

Syntax

sp_post_xpload [force]

Parameters

force

when specified, uses reindex_opt_force for dbcc reindex in sp_post_xpload.

Examples

Example 1

Once the database is loaded from another platform, rebuilds its indexes by executing:

sp_post_xpload

Usage

Handling suspect partitions in cross-platform dump and load operations

Permissions

The permission checks for sp_post_xload differ based on your granular permissions settings.

Granular permissions enabled

With granular permissions enabled, you must be a user with load database privilege or own database privilege on the database.

Granular permissions disabled

With granular permissions disabled, you must be a user with sa_role.

Auditing

Values in event and extrainfo columns from the sysaudits table are:

Event

Audit option

Command or access audited

Information in extrainfo

38

exec_procedure

Execution of a procedure

  • Roles – Current active roles

  • Keywords or options – NULL

  • Previous value – NULL

  • Current value – NULL

  • Other information – All input parameters

  • Proxy information – Original login name, if set proxy in effect

See also

dump database, load database