Forum Replies Created

Viewing 15 posts - 44,176 through 44,190 (of 49,571 total)

  • RE: NEED HELP in CREATING NEW DATABASE

    cuteprabakar (9/29/2008)


    Tags??? How to setup this most of suggest set in new table???(max 10 tags with 20 characters length, previously I used space separated string)

    In a separate table.

    This will be...

  • RE: Increment of year

    As in the example I gave, just make @currentyear a parameter rather than a variable.

  • RE: Increment of year

    sal527 (9/28/2008)


    and cyear=(cyear+1))

    Well, that's never going to be true. A value is never equal to itself + 1.

    Considering that you're hardcoding 2008 in the other spot, shouldn't that...

  • RE: Stored Procedure Not Returning Values

    Could the inner joins be filtering out the rows?

  • RE: Login Failure for user "sa" [CLIENT: 116.252.185.77]

    It does look like someone (or several someones) is running a brute-force hack attempt against your serves. Can you speak to your network people, see if they can block ip...

  • RE: updatestats job

    They will affect any query that tries to use the corrupt pages. Update stats (unless used with fullscan) samples pages, so it may or may not be affected, depending which...

  • RE: updatestats job

    500kb of output even with no_infomsgs? Wow.

    If the errors are in the base tables, and you have no clean backup, then your only option is to run checkDB with the...

  • RE: Login Failure for user "sa" [CLIENT: 116.252.185.77]

    That could well be a hack attempt.

    What's the previous line in the error log? (specifically the state?)

    How strong is your sa password? If you're not using the account, can you...

  • RE: SQL SERVER JOBS and USERS

    As for the first, I don't think that's logged.

    For the second, query the sysjobhistory table in msdb. The amount of history depends on the frequency of the job. I think...

  • RE: cursor

    john_izzy (9/28/2008)


    how to make cursor in sql server 2005?

    Why do you need a cursor? Unless you're doing certain types of admin tasks (which are often one object at a time)...

  • RE: updatestats job

    Raghavender (9/28/2008)


    Output of the Checkdb is as below:

    CHECKDB found 0 allocation errors and 85 consistency errors in database 'DBNAME'.

    repair_allow_data_loss is the minimum repair level for the errors found by DBCC...

  • RE: sqlserver 2005 Express

    saby (9/26/2008)


    i want to shrink my log size to 100 mb but the issue is can i use this command BACKUP LOG {DatabaseName} WITH NO_LOG as my recovery model is...

  • RE: Query is slow because of TOP and Order By Count(*)

    The other thing I will suggest is that you consider moving the clustered index to the date column or the ID column (mainly because it will fragment less)

    and put...

  • RE: Query is slow because of TOP and Order By Count(*)

    The first thing I will suggest is that you do an update stats with full scan on that table.

    The execution plan shows that the optimiser is estimating 1 row and...

  • RE: MSSQL 2005 performance issue

    If you're able to upload the permon stuff, please not as a screenshot. There's not enough info in a screen shot. Zip and upload whatever you saved (if possible)

Viewing 15 posts - 44,176 through 44,190 (of 49,571 total)