Forum Replies Created

Viewing 15 posts - 1,786 through 1,800 (of 8,416 total)

  • RE: Are the posted questions getting worse?

    GilaMonster (8/2/2011)


    I also pay around R400/month for my cellphone...

    I have a prepay phone. It has a black-and-white screen, can make and receive calls (apparently) and also send and receive...

  • RE: DBCC INDEXDEFRAG

    sjimmo (8/2/2011)


    DBCC INDEXDEFRAG(master,spt_values, 1)

    This example was mentioned earlier. spt_values is an ordinary table in the dbo schema:

    SELECT t.type_desc

    FROM master.sys.tables AS t

    WHERE t.name = N'spt_values'

    AND t.[schema_id] = 1

    ...that...

  • RE: DBCC INDEXDEFRAG

    homebrew01 (8/2/2011)


    Doesn't that mean it worked on a system table?

    I guess it depends what you consider to be a 'system table'. The term is overloaded - some would regard...

  • RE: DBCC INDEXDEFRAG

    sjimmo (8/2/2011)


    IMO you should not be asking a question about something that hasn't yet happened. At this time the command is a valid command, and the fact that ic can...

  • RE: DBCC INDEXDEFRAG

    sjimmo (8/2/2011)


    Good question, but the answer does not match the question. The question does not ask about whether the command is being depricated. The answer is actually in the link...

  • RE: Niagara Falls

    paul.knibbs (8/2/2011)


    Well, yes, but the Windows collation that works is a binary collation--you'd expect that to be able to take NULLs in its stride, since it wouldn't be much use...

  • RE: Niagara Falls

    I'm not sure we should be singling out Canadians here. If anything, the US situation is the exception, since SQL Server uses a SQL collation by default for the...

  • RE: DBCC INDEXDEFRAG

    ningaraju.n (8/2/2011)


    What is spatial index?

    See this link: http://msdn.microsoft.com/en-us/library/bb895265.aspx

  • RE: DBCC INDEXDEFRAG

    bitbucket-25253 (8/1/2011)


    DBCC INDEXDEFRAG (Master,"dbo.spt_values",ix2_spt_values_nu_nc)

    DBCC INDEXDEFRAG (AdventureWorks_regular,"cdc.ddl_history",ddl_history_clustered_idx)-- a system table in the AdventureWorks_regular DB

    Neither of those are system tables, they are ordinary tables that happen to be used by the system...

  • RE: MSDB/Sql agent plans in cache ( thousands of single-use plans )

    Indianrock (8/1/2011)


    Some have suggested setting forced parameterization on in MSDB to help with this. Any downsides to that?

    It's worked fine for me in the past. I also wouldn't...

  • RE: Statistics

    brian118 (8/1/2011)


    Found this white paper. related to SQL Server 2000.

    To avoid long term maintenance of unused statistics, SQL Server 2000 ages the automatically created statistics (only those that are...

  • RE: Niagara Falls

    paul.knibbs (8/1/2011)


    It's still realistically a bug, though--even if CHAR(0) is treated as an empty string in a Windows collation, REPLACE() given an empty string as its second parameter should do...

  • RE: Niagara Falls

    cengland0 (8/1/2011)


    My guess is that it works and returns:

    Hello WorldHello World

    It returns 'Hello World ' in a SELECT statement, but 'Hello World Hello World' when using PRINT.

    CHAR(0) is often used...

  • RE: Niagara Falls

    Eugene Elutin (8/1/2011)


    Can someone guess without executing what the following SQL will return on Canada like server setup (I have the UK one) 😀

    DECLARE @var varchar(max);

    SET @var = 'Hello...

  • RE: Niagara Falls

    David in .AU (7/31/2011)


    This article might be interesting: note the reply from microsoft at the bottom

    Replace of char(0) does not work in DB with Windows collation

    I know it isn't exactly...

Viewing 15 posts - 1,786 through 1,800 (of 8,416 total)