Forum Replies Created

Viewing 15 posts - 2,416 through 2,430 (of 2,636 total)

  • RE: Permission

    Nita,

    Cross-database ownership chaining refers to dependant objects in separate databases being owned by the same login account (not the same database user).  It can be set after an installation or...

  • RE: How to copy identity column in Enterprise Manager

    Here's what you can do if you ever want DTS to create a table before importing:  

    After selecting the source table, click the Transform elipse to get to Column Mappings and...

  • RE: Verifying SQL server backups - how do I tell if they failed

    Hi Evelyn,

    Assuming your backups are run by scheduled jobs, the msdb.sysjobhistory table stores the information you want in it's status and run_date columns.  msdb.sp_help_jobhistory queries the table.  See 'sysjobhistory' and...

  • RE: Auditing

    Off the top of my head, there's SQL Server's C2 auditing, SQL profiler tracing, and products for purchase like Lumigent's Entegra. 

    Greg

     

     

  • RE: Drop tables

    Building on what Frank said about recovery model, if it's "Full", you can do a log backup now, restore last week's full backup with NORECOVERY, then restore the log backup with...

  • RE: DTS SQL task and Exception Error Log with huge files

    Hi Shoaib,

    You might try using a Transform Data Task instead of an SQL Task.  You can use the same SELECT statement in the Source tab. Then on the Options tab,...

  • RE: DTS Transformation Task and Execute Sql Task in one package

    Oh yeah.  I forgot that each export is going to a different Excel file.  In that case, the easiest thing to do is create copies of the connections as I...

  • RE: Data Migration

    How about this?

    --create a table with one name column and insert data

    create table oldname

    (name varchar (20))

    insert into oldname values ('Jones,Larry/Dee')

    insert into oldname values ('Smith,Gene/Wilma') 

    select *...

  • RE: DTS Transformation Task and Execute Sql Task in one package

    You can use the same connections since you want your tasks to execute serially.  If you had tasks that you wanted to execute in parallel, you would use seperate connections.

    To...

  • RE: DTS and Log File

    Tom,

    The correct syntax is BACKUP LOG <dbname> WITH TRUNCATE_ONLY

     

    Greg

  • RE: Query for permissions

    sp_helprolemember will list the members of a particular role or, if you omit the role parameter, all roles in a database.  See BOL.

    Greg

  • RE: DTS Transformation Task and Execute Sql Task in one package

    Sridhar,

    I think rossc and I are trying to describe the same thing.  I wish I could copy an image into the message forum.  Let's try this:

    Transform Task1  ---->  SQL...

  • RE: Next Identity Field

    Select IDENT_CURRENT will return the last identity value generated for a specific table.  I agree with Frank that you should show the newly generated ID right after the row is inserted.

    Greg

  • RE: DTS Transformation Task and Execute Sql Task in one package

    Hi Sridhar,

    Create a package in DTS Designer.  Add Connection objects for each source and destination to the workspace.  Add Transform Data Task between each pair of source and destination Connections. ...

  • RE: DTS Transformation Task and Execute Sql Task in one package

    You can certainly use both tasks in a single package.  Do you want to loop back and execute the same tasks again or will each Transform Data task and Execute SQL...

Viewing 15 posts - 2,416 through 2,430 (of 2,636 total)