Forum Replies Created

Viewing 15 posts - 601 through 615 (of 1,250 total)

  • RE: case when error in sqlserver

    updateadmin

    set [add]= CASE WHEN uname = 'jain' THEN 1 ELSE [add] END

    ,[ADD] = CASE WHEN uname='baiju' THEN 1 ELSE [edit] END

    whereuname IN ('jain', 'baiju')

    This only gets the unames...

    ----------------------------------------------------

  • RE: thinking about Procedure vs trigger

    example 1

    application have to get data

    procedure in application with timer with parameter will select 1row from Table1

    Why only select one row? Why table1 only? I still dont understand the full...

    ----------------------------------------------------

  • RE: Sub query where clause returns nothing

    Does this return anything that looks like what you may want ?

    select t1.[StockCode], t1.[SalesOrder], t1.[SalesOrderLine], t1.[LotNumber], t1.[Customer],

    t2.[ShipDate]

    --from table t1

    from (select [StockCode], [SalesOrder], [SalesOrderLine], [LotNumber], [Customer]

    from

    where...

    ----------------------------------------------------

  • RE: Sub query where clause returns nothing

    spin (2/17/2016)


    Thanks for the replies..

    perhaps i should have given my final expectations...

    i have 2 tables which i'm trying to join. I know the lot exists under the conditions in the...

    ----------------------------------------------------

  • RE: System Migration - Implementation Questions

    amy26 (2/17/2016)


    It is a transactional system with reporting capabilities. The front end code updates tables directly most of the time. There are some instances where it calls stored...

    ----------------------------------------------------

  • RE: SQL Query to Extract after 2nd - in a field

    Jeff Moden (2/16/2016)


    trvlbabie (2/16/2016)


    I'm new to this so I wasn't sure - appreciate that you were so patient and helpful...not.

    You must like pork chops. 🙂

    The following will help. http://bfy.tw/4IPS

    I...

    ----------------------------------------------------

  • RE: Want to Calculate Business Working hours

    mona_vahab (2/16/2016)


    Hello,

    I have the same question but the problem is in my case the login and logout time is not indicated. Could you please kindly help me with that.

    Hi and...

    ----------------------------------------------------

  • RE: Schema question (about conditional dependency)

    The problem with assigning an auto-incrementing id as the primary key is that it does nothing. Imagine a data entry typist accidentally leaning on the keyboard for a while, causing...

    ----------------------------------------------------

  • RE: Need help on database design

    Perhaps this might help get you started.

    http://www.sqlservercentral.com/Forums/FindPost1758249.aspx

    ----------------------------------------------------

  • RE: FTP with Configuration Manager for Connection String

    Out of curiosity what Security protection level configuration are you using when you save the package?

    ----------------------------------------------------

  • RE: Movie Rental Database

    Grant Fritchey (4/8/2015)


    I'm with Luis. I don't like the normalization on DVD. I'll go one further, there is a movie (Luis used title) and there is the physical DVD itself....

    ----------------------------------------------------

  • RE: Foreign key question

    How would I set up a Foreign Key between the Job_Request (RequisitionNumber) and the Job_Requisitions(RequisitionNumber) knowing that the first record created will be in Job_Request which will have a...

    ----------------------------------------------------

  • RE: Foreign key question

    Miranda Johnson (10/1/2015)


    So if I understand you correctly instead of having 3 columns in the Job_Requisitions table, RequisitionNumber, JobID, and LocationID , you would have a 4th column...

    ----------------------------------------------------

  • RE: Schema question (about conditional dependency)

    The way I was taught to start with database design is to look at things conceptually. You first establish the "entities." Then you solve how the entities are related to...

    ----------------------------------------------------

  • RE: TF Upsert destination Taking lot of time

    Orlando Colamatteo (1/23/2016)


    Would it benefit you to improve in the 43 minutes? 5 million rows is more than your average data load but it is possible to process that many...

    ----------------------------------------------------

Viewing 15 posts - 601 through 615 (of 1,250 total)