Forum Replies Created

Viewing 15 posts - 196 through 210 (of 217 total)

  • RE: Error handling

    While I have never seen anything that discussed best practices, there are a few articles here on SSC that mention error handling... including

    http://www.sqlservercentral.com/columnists/rmarda/doesyourspchokeonerrors.asp

    There are a few others spread...

  • RE: abc is not a valid user of xyz

    Hey Steve,

    They connect over the Internet using Enterprise Manager, with sql server authentication.

    Thanks,

    Dan B

  • RE: SQL Maximum....

    Everything I have heard would indicate that BOL is correct in this case.

    Dan B

  • RE: profile - NTUserName is blank

    Are your users connecting with sql server authentication or windows authentication?

    Try including the LoginName column with your trace to see if anything is returned there.

    Dan B

  • RE: Report on Tables/Primary keys

    Or this might be a little prettier...

    
    
    select t.[name] as tablename, isnull(p.[name],'') as ConstraintName,
    case p.xtype
    When 'PK' Then 'Primary Key'
    When 'C' Then 'Check'
    When 'UQ' Then 'Unique'
    When 'F'...
  • RE: Report on Tables/Primary keys

    How about something like this?

    
    
    select t.[name] as tablename, isnull(p.[name],'') as ConstraintName, isnull(p.xtype,'') as ConstraintType
    from sysobjects t
    left join sysobjects p on t.[id] = p.parent_obj
    where t.xtype='U'
    order by...
  • RE: Concatenation

    Andrew,

    So that we may more accurately reproduce your problem can you provide sample code from beginning to end that fails execution, including sample data?

    Dan B

  • RE: Concatenation

    Andrew,

    How about simply adding a cast to varchar around each field being concatenated? Something like this?

    update clnpers

    set cust_id = cast(shop_id as varchar) + cast(rec_sname as varchar) + ...etc

    Dan B

    ...

  • RE: dbo - who should it be?

    Thanks Andy! I will give this a try...

    Dan B

  • RE: Access denied problem

    Are you able to successfully create a DSN on the web server with the same credentials as your code? Perhaps the user is not set to the correct default...

  • RE: Which book(s) are best for test prep & reference?

    I found the two mcse/mcdba (70-228/70-229) training kit books from mspress to be pretty good review. However, I think it is worthwhile to check out other books about sql...

  • RE: QOD 8/12/03

    Yowza...

    I never thought that it worked on all FT columns individually.

    Certainly highlights the difference between thinking like a person and thinking like a machine.

    Certainly had a hard time...

  • RE: Mass deletes on a table without blocking inserts

    Peely,

    Once your deletes are up to date it seems possible that the number of daily deletes would be close to the number of inserts. How about an INSERT trigger...

  • RE: Stars

    Groovy.

    Thanks Mark!

    Dan B

  • RE: Simple Log Shipper

    I am pretty sure the BackOffice 4.5 Resource Kit has scripts to set up log shipping as well, although I have not used them personally.

    Dan

Viewing 15 posts - 196 through 210 (of 217 total)