import random


def _createStaging(tableName, cursor):
    """Create staging table."""
    stagingTable = "{0}_{1}".format(
        tableName, str(int(pow(10, random.random()*10))).zfill(10))
    cursor.execute("""CREATE TABLE {0} (LIKE {1}
        INCLUDING DEFAULTS)""".format(stagingTable, tableName))
    return stagingTable