Forum Replies Created

Viewing 15 posts - 1,516 through 1,530 (of 1,999 total)

  • RE: @@Servername problem

    sp_addserver 'msyserver','local' also requires you to stop and re-start the service before it takes effect

  • RE: Unexpected EOF encountered in BCP data-file - Replication

    i have come across this on several occasions.

    i tried dropping the article and adding back in before creating a new snapshot, but the problem re-appeared.

    the only method i've found of...

  • RE: Writing SQL Faster

    I hate the way articles on this site have started to become "adverts"

    if it's a balanced article about the merits of refactoring and intellisense then mention the competition.

    what could have...

  • RE: Detect Replication

    look at sysdatabase.category

    select * from sysdatabases where category&&1=1 or category&&4=4

    this will tell you if it is published via transactional or merge replication - see books online sydatabases for...

  • RE: How SQL Server Chooses the Type of Join

    rather than looking at recompiles and statistics, how about looking at your joins themselves.

    would it be possible to have 2 versions of the proc - each with distinct join...

  • RE: Parsing T-SQL

    you can also try using SET FMTONLY on/off

    will execute the query, but not affect any rows or return rows (only metadata)

    this would show up errors better than parseonly for missig...

  • RE: Ideas for SQLServerCentral.com

    as long as it's fast and useable i don't care (or want) fancy flash animations, button rollovers etc. I want to find and post data fast.

    on another front how about...

  • RE: How do I retrieve records between a date range?

    the error indicates that it's attempting to use mm/dd/yyyy date format - possibly due to your login set to English rather than british, or dateformat settings

    try

    where Date >= '06/13/2006'...

  • RE: Alter Table

    as i said in my post - it's bad practice - we wouldn't do it, but the forums are here to help not to preach about what developers SHOULD be...

  • RE: cluster fails

    does your DNS server/PDC reboot at any point?

  • RE: I have a REALLY easy question!

    if @@servername returns different to serverproperty('machinename') then it's possible your server has been renamed??? - that MIGHT acount for the .\accountname not working correctly ????

    you can rename your sql instance...

  • RE: scptxfr equivalent

    the script located here

    http://www.sqlservercentral.com/scripts/viewscript.asp?scriptid=1541

    would give you a good starting point

    it was designed to move indexes from one filegroup to another, but it could easily be modified to create a file...

  • RE: cluster fails

    i would suspect something shutting the service down - look for a sheduled job in sql agent or windows sheduled tasks that does something along the lines of

    xp_cmdshell 'net...

  • RE: Automate Update/Create statistics or not?

    this really depends on how big your tables are.

    if you only have small tables then there won't be any impact of auto stats, but for alrge tables (say for...

  • RE: Alter Table

    Steve,

    have you tried scripting out "Enterprise mangler" code? great for small tables, but it has a tendency to be backwards compatable and Drop the table and recreate it....

Viewing 15 posts - 1,516 through 1,530 (of 1,999 total)