Forum Replies Created

Viewing 15 posts - 3,136 through 3,150 (of 3,232 total)

  • RE: Design Question: Same Database or New Database

    If you house the database on the same SQL Server, using the same physical disks than I would say no.  The fact that this means that both databases would be...

  • RE: stripping numeric text out of a field

    There may be a better way to do this, but here is a method using substring that will work:

    declare @mychar varchar(20),

     @Index int,

     @NumericText varchar(20)

    set @mychar = '*CA 4000'

    Set @NumericText =...

  • RE: fine Tuning?

    Is this a joke??  If not, along with sample data, output, and a synopsis of what you are trying to accomplish, you may want to give us your create table...

  • RE: Getting the appName?

    This works:

    create table appname_test (

     USUARIO VARCHAR(100) DEFAULT SUSER_SNAME(),

     FECHA_AUDIT DATETIME DEFAULT GETDATE(),

     HOST VARCHAR (50) DEFAULT HOST_NAME(),

     App varchar(50) DEFAULT APP_NAME()

    &nbsp

    insert into appname_test default values

    select *...

  • RE: unique constraint against 2 columns?

    Both ways demonstraited here would work.  If your 2 columns should logically be part of a composit key, use the Primary Key method.  If you just need a unique constraint...

  • RE: unique constraint against 2 columns?

    First of all, are you sure that all of your firstname/lastname combinations will be unique?  There are plenty of Bob Smith's in the world (no offense meant to any of...

  • RE: Increase size of HD.....

    It sounds to me like the client was using the additional storage on their data drive to store other data.  I have seen this a number of times where, since...

  • RE: Pausing profiler

    I don't know of a way, outside of killing the process, that would pause your profile if it is waiting for resources.  You've clicked the pause button and the pause...

  • RE: Pausing profiler

    Is your SQL Server extremely busy during this same hour?  This seems to me to be more of a resource problem than a Profiler problem.  I would say that the...

  • RE: Detach/Attach invalid SQL Server file

    Yes, all of the data was present.  I ran select queries.  I also ran DBCC CHECKDB, which displays record counts for each table after it completes. 

    sp_attach_single_file_db gives the following...

  • RE: scripting export/import data

    You could script the following:

    1. sp_rename tables to new table names (backup_tablename)

    2. drop constraints from backup tables

    3. re-create original tables with constraints

    4. run import/verify

    5. drop original tables

    6. add constraints to backup tables

    7....

  • RE: scripting export/import data

    3) Run tests; verify data

    What sort of tests and verifications are you going to do?

  • RE: scheduled DTS doesn''''t run

    I assume that you have MSDE running on a server or a workstation somewhere?  Are you the network admin too?  Have your network admin make sure that you're domain account...

  • RE: scheduled DTS doesn''''t run

    You do not need to delete and re-register the MSDE Server.  If you right-click on the MSDE server, it will let you edit your registration data, including your authentication mode...

Viewing 15 posts - 3,136 through 3,150 (of 3,232 total)