Forum Replies Created

Viewing 15 posts - 766 through 780 (of 789 total)

  • RE: Copy Procedure

    Apart from maybe using OLE automation scripts (which won't be all that much better) your sp_helptext method may be the most straightforward. Even tracing what actions the DTS copy...

  • RE: import excel file to sql table that has ID field

    Just a shot in the dark, going back to your original question (BTW, if I have only ONE sheet in my excel workbook, named “tblExcel”, why do TWO sources appear...

  • RE: job schedule doesn't work well

    The "RAISERROR ... WITH LOG" will write to the SQL Error Log. This is viewable through QA with sp_readerrorlog or through EM under "Management / SQL Server Logs /...

  • RE: Master database restore

    without researching it... I'd say yes, the change of collation will cause a problem.

  • RE: Trace DTS package deletions

    Andy,

    sysdtspackages isn't a system table in the same sense as system tables within master and model. Your can define triggers on them. Try the following for logging the...

  • RE: Master database restore

    The target server (on which master is to be restored) should ideally be at the same service level as the original. Further problems will be minimised by having SQL executables...

  • RE: import excel file to sql table that has ID field

    Leave the Identity field out of the Excel file... it's not needed.

    In the DTS Import/Export wizard:

    1. define your spreadsheet as source

    2. define your SQL database as destination.

    3. select "copy tables...

  • RE: Compare with Different Collations

    Kevin,

    When you say "I tried the "Collation" option, didn't help shown in one of the articles on the site.", can you elaborate? Did you get syntax problems, or did...

  • RE: Password

    No need to set passwords on databases.

    Firstly, just remove the guest user from each of your databases to prevent people with valid SQL logins from snooping around in...

  • RE: What is causing SQL7 high CPU usage

    I would suggest using profiler to capture, in the first instance, completion events for RPCs and Batches. Let it run for a good number of minutes (depending on the...

  • RE: Primary key / DTS load question

     
    
    -- Assuming, for simplicity sake, that your main table is defined like:

    CREATE TABLE MainTable (
    PKField INT PRIMARY KEY,
    ...
  • RE: This is a toughy!

    This example uses pubs, but the idea's the same...

    
    
    CREATE FUNCTION BookList
    (@au_id id)
    RETURNS VARCHAR(8000)
    AS
    BEGIN
    DECLARE @Booklist VARCHAR(8000)
    SELECT @Booklist...
  • RE: SQL and Celerons

    A Health Club client database on a 2gig Celeron? Sounds to me like you've overspec'ed the hardware. I run SQL on a 1.7big Celeron for all internal purposes,...

  • RE: new hardware

    Cross,

    It's you versus the bean counters. I can't tell you what to do, only what I'd do in the same situation.

    For the low end scenario I would go for the...

  • RE: unsigned ints

    You could use a BINARY value. Same storage requirements as INT but you can use all the bits. You may find it cumbersome though, depending on your processing...

Viewing 15 posts - 766 through 780 (of 789 total)