Forum Replies Created

Viewing 15 posts - 1,711 through 1,725 (of 2,904 total)

  • RE: Question of the Day for 03 Dec 2004

    I'm not quite sure what you are asking, but...

    if you do a DBCC DBREINDEX it drops and recreates the indexes. This gets rid of any fragmentation of the indexes. However,...

  • RE: Help With DateTime Values

    How is the time stored? If it's as varchar forget it. VARCHAR is a string value and strings are ordered (sorted) alphanumerically.

    1

    10

    11

    2

    20

    25

    3

    This is why dates and times should always be...

  • RE: Transaction log backup - A silly question

    It's my opinion you don't need that immediate transaction log and can turn it off.

    Most likely, the person who set it up did it as a 'fail safe'. A lot...

  • RE: Erase LTO tape to new condition

    Even degaussing the tape won't return it to it's 'new out of the box' state. If you really need a 'new out of the box' tape, you'll have to buy...

  • RE: not able to restore pls help me

    The problem is that you are trying to RESTORE a database that already exists. It can be done, but you must use the WITH REPLACE option.

    Refer to the BOL for...

  • RE: Question of the Day for 22 Nov 2004

    I think this script shows the 'fine line' with the word EXECUTE. Parsing a script is not executing it. Another word might be COMPILE.

    EXECUTING it is running the script.

    Look...

  • RE: Small doubt in SQL query!

    I should have added that you are better off doing:

    SET @var1 = 'Hello'

    SET @var2 = SELECT col1 FROM table

    SELECT @var1, @var2

    And don't forget to DECLARE the variables at the beginning.

    -SQLBill

  • RE: Small doubt in SQL query!

    Where did you get this from?

    Select [var1] = ‘Hello’,[var2] = t.col1

    from table t

    I have never seen anything...

  • RE: T-SQL small Question

    Sudhir,

    I agree with Frank and disagree with you. The answer is NOT 33.00.  If both numbers are INT as you show them, the answer will be INT. INT does not...

  • RE: problem in sql query

    In answer to your question....NO there is no simple query that would return what you want. Why not? Because of the poor data.

    You can't ask for LIKE %HYATT GRAND%...

  • RE: need a little help with my convert statement of DATETIME TO DATE

    Another solution and one that I use:

    Create a stored procedure on SQL Server that does what you want. Make sure it has the variables you want entered via Crystal Reports....

  • RE: need a little help with my convert statement of DATETIME TO DATE

    Lee,

    To answer your question "Is there any way to keep it as a date or datetime value?" - No. In SQL Server there isn't a DATE datatype only DATETIME and...

  • RE: How does T-Log backup work?

    To add to Peter's comments, even if you shrink the files it doesn't happen immediately.

    You are better off allowing the TL to grow. Continuing to back it up and run...

  • RE: how to force backup?

    This is why you shouldn't rely on Maintenance plans. Script your own backup jobs.

    -SQLBill

  • RE: demo version? wrong.

    Did you provide the license information when you installed it? (I know this might be a dumb question, but if you leave out the license information the evaluation version is installed).

    -SQLBill

Viewing 15 posts - 1,711 through 1,725 (of 2,904 total)