Forum Replies Created

Viewing 15 posts - 631 through 645 (of 1,479 total)

  • RE: Not Equal in Inner Join not working

    The query that you wrote should return every record in Table1 with every record in Table2 that doesn’t match the value in PID and SSN column. Even if there...

  • RE: save 0321 in table

    If your column is a numeric column, then it should behave this way. If you need to store the leading zeros, then maybe you should work with strings instead...

  • RE: procedure or direct query?which one is best

    I agree with Grant. Inserting million records one by one doesn’t sound at the correct way. If you don’t want to use SSIS, you can check out Bulk...

  • RE: TempDB Shrinking

    ramyours2003 (3/9/2010)


    reboot the services , and observer the size

    I’m sorry but this is not really a valid reason to reboot server. Also it is not guaranteed that the TempDB...

  • RE: TempDB Shrinking

    Are you sure that you should shrink the tempdb? If the databases reached its current size during normal work, then there is no need to shrink it because it grow...

  • RE: Cast vs. Convert

    Convert has a third parameter that is optional and is called style. It is mostly used with dates. For example check out the next script:

    declare @dt char(10)

    select @dt...

  • RE: Concurrency in Update.

    Just read my first post again. If you have any question about it, I’ll be glad to answer them.

    Adi

  • RE: How many rows are returned from the query below?

    I agree that with the assumptions that the table exists, it has at least 2 records and the code is ran on SQL Server 2005 or later, then the only...

  • RE: Concurrency in Update.

    Saravanan T (3/3/2010)


    Hi ,

    My question is can i update the same table like below in another session....without commiting or rollbacking the session 1.

    ...

  • RE: Concurrency in Update.

    Could be few reasons. If your table has no index that it can use to locate the record, then it needs to do a table scan. In that...

  • RE: Using XML data as parameter in Stored Procedure

    I wouldn’t say that using XML parameter should hurt performance. As in many other things, I would say that it depends. If XML parameter would be something that...

  • RE: corrupted relations in database

    I’m sorry but I don’t understand the question. Can you clarify it? What do you mean when you say that you have corrupted relations between the tables? ...

  • RE: How many rows are returned from the query below?

    I agree with the posters that claim that the question had more then 1 answer that could be correct. I guessed the answer because I assumed that the table...

  • RE: CLR number format

    If you use a numeric data numeric data type (by numeric, I mean any data type that can only store numbers such as int, decimal, money etc’) then the server...

  • RE: Working with CATCH Block continuity

    First I have to admit that I didn’t check the code, so there are maybe other issues that I didn’t notice. As for your question, you can use nested...

Viewing 15 posts - 631 through 645 (of 1,479 total)