Forum Replies Created

Viewing 15 posts - 43,681 through 43,695 (of 49,571 total)

  • RE: Who Wants to Be Rich?

    It's interesting to see the wealth distributions in different countries. A similar evaluation was done here a couple years back, though I have serious doubts about it's accuracy. Mainly because...

  • RE: The Financial Crisis

    Jeff Moden (10/18/2008)


    People need to learn to live within their means... or stop whining when beyond-their-means comes due.

    Agreed. The only thing I owe money on is my house,...

  • RE: how to get the updated row info in triggers?

    You're looking for the inserted and updated tables. In an update, inserted will contain the new values and deleted will contain the old values. Only the rows affected by the...

  • RE: DBCC CHECKDB - how use it in a maintenance plan ?

    Leo (10/19/2008)


    But what do I do if transaction log is getting bigger, for example -

    Transaction log initial size 4GB [that is okay and I am happy with this size],...

  • RE: CLR TYPES AND SQL TYPES

    Thanks Jonathan.

  • RE: CLR TYPES AND SQL TYPES

    No problem. 🙂

    Ok, so what exactly will you be passing to the function? Something like 'C:\Somedir\SomeOtherDir\'? What do you want returning from the function?

    Also, what do you need it for?

    What...

  • RE: Snap Shot Database in Suspect

    Did the drive the snapshot is on or the drive that the source DB is on run out of space?

    There's no way to repair a corrupt snapshot. The only...

  • RE: CLR TYPES AND SQL TYPES

    MarlonRibunal (10/18/2008)


    Well, I did not ask the *obvious* question. What is the compatible SQL Server Data Type for C# Type DirectoryInfo? I want to pass well, again it's quite *obvious*,...

  • RE: Script dependent upon SQL version

    Garadin (10/19/2008)


    In ASP for example, you can do:

    sql="SELECT * FROM TABLE WHERE Field ='" & MyVariable & "'"

    rs.open sql conn2

    Instead of

    sql ="Exec dbo.MySP @Variable =" & MyVariable

    rs.open sql conn2

    So...

  • RE: Change SQL Time

    jjssilva (10/18/2008)


    This is what I got today at 18:48 local time (same as the server time).

    2008-10-18 11:48:07.093

    Sat 10/18/2008

    NULL

    11:48 AM

    NULL

    That's showing that both SQL and the OS think that the...

  • RE: What is cursor's utility

    Jeff Moden (10/18/2008)


    The bottom line is, almost never write explicit RBAR like cursors and WHILE loops and be very, very careful to consider what may constitute hidden RBAR like UDF's,...

  • RE: Cursor

    senthil_gobi04 (10/18/2008)


    How to use update Query using cursor in SQL Server

    Don't.

    Post the requirements for your update (table definitions, sample data, desired results), and we can help you write an update...

  • RE: What is difference between Inline Table-values Function and Multi-statement Table-vlued Function

    Jeff Moden (10/18/2008)


    Then, it should probably not be a function at all. It should probably be a stored proc or perhaps a view.

    Probably.

    I think at this point we...

  • RE: CLR TYPES AND SQL TYPES

    The error message is fairly clear. The data types don't match. A VARCHAR(max) is not the same as a DirectoryInfo. What are you expecting to be passing to this function?

  • RE: DBCC CHECKDB - how use it in a maintenance plan ?

    Leo (10/18/2008)


    I never backup the transaction log even database model is -FULL. transaction log backup is not required for my environment at the moment.

    You need transaction log backups in full...

Viewing 15 posts - 43,681 through 43,695 (of 49,571 total)