Forum Replies Created

Viewing 15 posts - 45,736 through 45,750 (of 49,571 total)

  • RE: Cluster Service Restarts Automatically

    Post the table design, index definitions and some of the queries that deadlock with each other?

    Have you considered snapshot isolation level?

    A single table design is bad, but it might be...

  • RE: ETL Process taking a while to execute

    Could you describe the ETL process a bit more please?

    You may find it more efficient to copy the rows you want to keep to a temp table, truncate the...

  • RE: ETL Process taking a while to execute

    Cursors = really, really bad idea

    Could you describe what happens in a little more detail please?

  • RE: Restoration error

    Make sure you are not connected to the database you are trying to restore.

  • RE: Cannot delete table

    Carl Federl (7/12/2008)


    [] are not supposed to change the meaning of a statement. They're supposed to just be delimiters.

    But [] do change the meaning of SQL Statements.

    Perhaps I should...

  • RE: Cluster Service Restarts Automatically

    The only thing I can think of is that the cluster service fails to get a connection when trying to do an IsAlive check on SQL, concludes that the SQL...

  • RE: Restoration error

    It's your connection it's complaining about. To restore, there must be no users connected to the DB

    Change to another database (master) before doing the restore.

  • RE: What makes an SP to run long sometimes?

    Off hand, I don't know. I don't think it's 16 sec to compile. That's well over the maximum amount of time the optimiser would be allowed to work. Most likely...

  • RE: how to overcome sql injection

    Hari.Sharma (7/14/2008)


    The best way to avoid SQL Injection is use of Stored Procedures.

    The only way to 100% for certain avoid SQL injection is to use properly parameterised queries or stored...

  • RE: how to Convert varchar to Numeric

    Actually, I did suggest ISNumeric, with the warning that it's not perfect. Does your like allow for - and .?

    Here's one that caught me very, very badly the other day...

    SELECT...

  • RE: Restoring differential backup on other server

    Each differential backup is based off a full backup. You can only restore a diff if you have previously restored (with norecovery) the full backup that it is based off.

    A...

  • RE: Regarding extended stored procedure.

    The permissions that you have to the server is irrelevant. It's the account that SQL is running as that is important here.

    What account is SQL Server running as?

    Does that...

  • RE: Is there any difference between Truncate and Shrinking of the Log file?

    DKG (7/12/2008)


    As per my understanding log file contains uncommitted transactions only, the transaction which is already committed has gone to datafile?

    The transaction log contains records of uncommitted and committed transactions.

    doest...

  • RE: explain how to make the database accessible to the outside world

    That very much depends on yout network infrastructure, not so much SQL. You may want to ask your network people about that

    Is the SQL server in an internet-facing portion of...

  • RE: Index Fragmentation Problem

    If you're using SQL 2005 enterprise edition, you can do an online index rebuild

    ALTER INDEX <Index Name> ON <Table Name>

    REBUILD WITH (ONLINE = ON)

Viewing 15 posts - 45,736 through 45,750 (of 49,571 total)