Forum Replies Created

Viewing 15 posts - 391 through 405 (of 684 total)

  • RE: Filesystem > SQL-E

    Hi,

    I see what you're trying to do. You basically want one extra column that tells you which is the parent directory to any given file/folder, if I'm not mistaken.

    There...

  • RE: SP resultset to a table

    Hi Ramesh,

    The answer is, no.  You have to create the table first and then populate it like so:

    insert

    into my_table ([column...

  • RE: Moving the Distribution Database

    Hmmm,

    I've never had to do this myself.  Detaching distribution might not work because it always has a connection to it.

    If that is the case you could follow Microsoft's advice on...

  • RE: Search for string occurrence

    Good point.

    You can do this entirely in T-SQL by concatenating the [text] field into a seperate table that has a field with a text datatype (thus allowing more than 8000...

  • RE: Search for string occurrence

    select

    distinct object_name(id) from syscomments where text...

  • RE: Need to force use of transactions in QA

    Hi Jon,

    Like the previous poster I'm not sure what it is you want to achieve here.

    Firstly, by default, all update/delete/insert statements that users run automically run as transactions.  You don't...

  • RE: How do I get SQL Server version (numbers only)

    Alternatively,

    Just use the interal serverproperty function.

    select

    serverproperty('ProductVersion')

  • RE: Clustering, mirroring or replication?

    Hi,

    replication is not a viable solution for redundancy in this case.

    Mirroring is an option.  It is easier and cheaper to set up than clustering and can offer complete redundancy of...

  • RE: Falling into infinite loop...

    Rao,

    The query you've written is not falling into an infinite loop at all.  It might take a long time but that's all.  You're basically trying to calculate the MAX(Deal_Date) for...

  • RE: Referential Integrity Checking Burden during Updates

    Hi Larry,

    That's a good question, which made me think

    You're right in saying that when performing an update, behind the scenes SQL Server performs a...

  • RE: Data Time format

    In that case you've got to make sure that it is in the correct format when you pass it through from .net.

    So you have to do this in your .net...

  • RE: Data Time format

    Hi,

    As GilaMonster indicated, forget about how dates are stored in SQL Server (it doesn't really matter).  All you have to worry about is how you present it.

    Look at the CONVERT...

  • RE: Referential Integrity Checking Burden during Updates

    Hi Larry,

    You mentioned that you have a high level of confidence that no changes will occur to the PK so therefore each update will not require a referential integrity check...

  • RE: How to select batch from table?

    Hi,

    if you use the NOLOCK hint as you were doing so in the original example you shouldn't place any locks on the tables and it shouldn't therefore affect other users.

  • RE: How to select batch from table?

    Hi,

    I'm not so sure that running the statements in a batch is going to help performance.  You're still joining onto tab2 (albeit with less rows) but you're going to do...

Viewing 15 posts - 391 through 405 (of 684 total)