Forum Replies Created

Viewing 15 posts - 47,041 through 47,055 (of 49,571 total)

  • RE: Select Statement Issue?

    Sandy (4/2/2008)


    Can any body clear me how many characters allowed in varchar(8000) and nvarchar(4000)?

    VARCHAR(8000) = 8000 characters.

    NVarchar(4000) = 4000 characters (each taking 2 bytes)

  • RE: Retreiving query cost?

    You can use the estimated execution plan. Just bear in mind it is an estimate. If you're running into parameter sniffing problems (which from the sound of things you might...

  • RE: Get the code from a System View

    And you can use sp_helptext to get their definition as well.

    EXEC sp_helptext 'sys.objects'

  • RE: SQL 2005 Data corruption issue

    Could you check the windows event log please? See if there are any errors in there from around the time of the DBCC. Check the system and application logs.

  • RE: trigger not called for each record?

    Andre T (3/31/2008)


    Ahh, I must be confused with Oracle which would make sense.

    The big picture is a bit complicated. I certainly realize set based is better but this...

  • RE: Query Building Tips (Need Them!)

    It specified on what columns the join is done.

    Same as for a normal inner/outer join between two tables:

    FROM Itable1 INNER JOIN Table2 On Table1.Col1 = Table2.Col2

    Just in this case it's...

  • RE: I/O error (torn page) detected during read

    Any backup you've made since the problem started will have the damaged page in and hence is useless for recovering from this.

    How long has this been going on? Why didn't...

  • RE: I/O error (torn page) detected during read

    When was your last database backup? Is the database in full recovery mode, and , if so, do you have the transaction log backups since the last full backup.

    How much...

  • RE: Need help on small project from SQL professional

    mostar5 (3/31/2008)


    Anyone?

    Sure.

    Read what I wrote above. Help us with the table structures and sample data and someone will help you.

  • RE: Problem with duration in profiler n query editor

    Statistics time outputs in milliseconds. Microseconds would be 'us'. (iirc)

    SQL Server Execution Times:

    CPU time = 32 ms, elapsed time = 180 ms.

  • RE: SQL 2005 Data corruption issue

    Hmmm....

    What OS are you running? Please confirm that the drive is using the NTFS file system

  • RE: Bachelors degree - Who has one, or even more education?

    I'll be 32 this year. I started the degree 2 years ago. Got another 2-3 years to go.

    I would suggest you sit down and take a look at the reasons...

  • RE: SQL 2005 Data corruption issue

    Anshu Wadhwa (3/31/2008)


    There's no such encryption/decryption software on our server , no space issues either...What else can be the problem ..?

    I take it you have a similar problem.

    Can you post...

  • RE: Database Locks

    Ignacio A. Salom Rangel (3/30/2008)


    GilaMonster (2/13/2008)


    What does the update statement do?

    Can it be optimised to take less time? Can the indexes be tweaked so that it doesn't have to...

  • RE: are there "arrays" in sql 2005 ?

    The date time problem's easy to fix. The variables need to be converted to string to concat them with the rest of the query. They also need to be wrapped...

Viewing 15 posts - 47,041 through 47,055 (of 49,571 total)