Forum Replies Created

Viewing 15 posts - 76 through 90 (of 616 total)

  • RE: Data Profiling with T-SQL

    This is great stuff! Thanks very much!

  • RE: SQL CLR Assembly

    I have several SQL CLR Table Valued Functions and I'm able to call the same function multiple times with no issues at all. However, my functions don't make web calls.

  • RE: Are this is the real Job requirements for a DBA?

    Salam! izayak ya mohammed? 😛

    Manage the platform backend servers. In addition to database tuning and performance monitoring.

    Maybe.. depends on the size of the company.

    Take care of the database design...

  • RE: Update field based on condition

    SQL_Kills (11/21/2013)


    Abu Dina you must have replied when i was replying to the first response, it looks like your script works! Thanks

    You're welcome!

    Perhaps there is no need for three...

  • RE: Update field based on condition

    Three updates looks a bit ugly though... I'm trying to figure out how to do this with one update.

  • RE: Update field based on condition

    SQL_Kills (11/21/2013)


    Hi,

    I have the following table

    CREATE TABLE [dbo].[Orders](

    [orderNo] [varchar](10) NOT NULL,

    [orderLineNo] [int] NOT NULL,

    [product] [varchar](10) NULL,

    [orderQty] [int] NULL,

    [receivedQty] [int] NULL,

    [orderStatus] [varchar](10) NULL

    ) ON [PRIMARY]

    GO

    insert into Orders values ('A1000',1,'ABC100',10,10,NULL)

    insert into Orders...

  • RE: Update field based on condition

    My attempt:

    update Orders

    set OrderStatus = 'Complete'

    WHERE orderNo IN ( select orderNo

    from orders

    group by orderno

    having sum(OrderQty) - sum(receivedQty) = 0)

    update Orders

    set OrderStatus = 'Some'

    WHERE orderNo IN ( select orderNo

    from orders

    group by...

  • RE: Copy-only backups and differentials

    Thanks for the confirmation guys.

  • RE: Query Performance with Sophos AntiVirus on SQL2k8

    jchapman (11/16/2013)


    Thanks for the reply Benjamin. Yeah, I'm still lurking around.

    I had forgotten about this post. We did finally convince the IT guys to disable Sophos and we...

  • RE: I want to be a DB Admin

    jervyn_almanon (11/20/2013)


    Thank you Sir for the replies I appreciate it a lot.

    I am clueless sir where and what to study first I'm currently reading an ebook on "How to be...

  • RE: I want to be a DB Admin

    Firstly, welcome to SCC 😀

    There have been loads of discussions on this topic in the past. Try with the search box (top-right) and see what you find.

    Here is one I...

  • RE: blocking

    mxy (11/20/2013)


    thanks what does 0 mean ? i notice blocking sql(spid 79) is a select statement and blocked sql(spid 81) is an insert.

    spid 81 wait resource on Lck_M_IX

    Can I...

  • RE: how does With (Index (Index_Name)) help in fast query execution??

    mote.ajit2 (11/20/2013)


    Hi,

    But I have added one non clustered index column in select list. Now performance in significantly increased.

    Perhaps an ORDER BY clause in your query is now using the index...

  • RE: Microsoft SQL Temp Tables (without declaring columns – like Informix)?

    dwain.c (11/18/2013)


    Abu Dina (11/18/2013)


    Ah! Then you need to be introduced to the INTO Clause 😉

    A couple of caveats to using this technique:

    - All columns created will default to allow NULL...

  • RE: Microsoft SQL Temp Tables (without declaring columns – like Informix)?

    Dwain's probably asleep right now.. I think he's from New Zealand. 🙂

    Temp tables local with single # or global with ## are always created in tempdb.

    Can I suggest you expand...

Viewing 15 posts - 76 through 90 (of 616 total)