Forum Replies Created

Viewing 15 posts - 2,026 through 2,040 (of 3,678 total)

  • RE: Avoiding Dynamic SQL - How to Re-Write This ?

    You sql string should include a parameter marker

    set @sql = @sql + ' AND b.LocationID=@LocationID' etc

    That way sp_executesql will cache the appropriate query plan.

  • RE: SqlServerInstallation

    Depends on the license that has been bought and the hardware and OS you want to install it on.

    If you have the Enterprise license then use the Enterprise edition.

    If you...

  • RE: Foreign key

    If there are a discreet set of designs and a discreet set of sales reps then you need a separate mapping table with a combined primary key of LogoDesignID and...

  • RE: xp_cmdshell calling sqlcmd

    This sounds like a strange approach.

    Are you trying to back up on one server and restore on another?

    I would use a batch file that runs SQLCMD to do each task...

  • RE: Too many replication jobs?

    So you have one distributor but how many distribution databases do you have?

    I ran into a problem where the distributor didn't look like it was stressed but the outstanding transactions...

  • RE: Avoiding Dynamic SQL - How to Re-Write This ?

    create PROCEDURE [dbo].[usp_Dynamic]

    @location_id int = NULL

    ...

  • RE: VARCHAR(x) VS VARCHAR(MAX)

    David, can you elaborate on this?

    The other things that strike me is that the "text in row" option may apply and also the maximum replicated text size (defaults to 64Kb).

    sp_tableoption...

  • RE: VARCHAR(x) VS VARCHAR(MAX)

    Personally I believe that VARCHAR(MAX) is a datatype of last resort.

    To give an extreme example the longest possible telephone number is 15 digits so allowing for formatting I allow VARCHAR(20)....

  • RE: SQL 2008 replication to SQL2005 - best performance options and thoughts ?

    If you have one publisher then multiple distribution databases won't do you any good because a publisher is associated with one distributor.

    MySQL is great for one master, multiple slaves.:hehe:

    We did...

  • RE: Question about non SQL software

    Was it described as software that could query mixed datasources in situ?

    To me it sounds like some form of ETL system that can merge data from several systems into a...

  • RE: Accidently Agile

    My first exposure to agile lead me to think of it as the bodge it and wing it methodology. It fundamentally isn't. It isn't even a methodology, it...

  • RE: MySQL Primer for the SQL Sever DBA

    The thing that impresses me most about MySQL are the MySQL tech staff. These are a bunch of guys I consider myself privileged to have worked with.

    The trainers were...

  • RE: mdf Shrink fails - have tried everything possible..

    I would be surprised if it was the FKs that made the difference. I suspect it was the clustered keys primary or otherwise.

    I have run into this problem on...

  • RE: Accidently Agile

    I've just been reading "The Mythical Man Month" by Fred Brooks. Some people think his book is brilliant other people deride it with comments such as "it taught me...

  • RE: Accidently Agile

    For me the most important thing about "agile" is that it emphasise communication and that the best communication is face to face.

    Short itterations mean that developers and business people get...

Viewing 15 posts - 2,026 through 2,040 (of 3,678 total)