Forum Replies Created

Viewing 15 posts - 586 through 600 (of 1,241 total)

  • RE: Scrubbing Data - Good idea or bad idea?

    Jeff Moden (2/22/2016)


    MMartin1 (2/22/2016)


    Are there industry standard documentation that specifically addresses the correct way to handle this?

    The only one I know is that you must do requirements gathering from your...

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

  • RE: thinking about Procedure vs trigger

    I would point you to Jeff Moden post and see his link on how to post code problems. It would help us to better help you if you read through...

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

  • RE: Connection to AS from Excel problem

    You can also check with IT that there is no obscure group policy that prohibits these connections. Though more likely I would see that the service is running on the...

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

  • RE: Scrubbing Data - Good idea or bad idea?

    Are there industry standard documentation that specifically addresses the correct way to handle this?

    The only one I know is that you must do requirements gathering from your team/client on how...

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

  • RE: Count of Records in a Table by Military Time.

    Here is what I came up with

    if object_id('#temp2') is not null

    drop table #temp2;

    create table #temp2 (rowNum tinyint, timein int)

    insert into #temp2

    select 1, '0800' union all...

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

  • RE: Count of Records in a Table by Military Time.

    cast(replace(left(cast((timein/100) as varchar(5)),2),'.','') as int) as hour_ini

    If you are doing timein/100 , isnt the timein column already in integer format? It seems you are converting from integer to string and...

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

  • 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

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

Viewing 15 posts - 586 through 600 (of 1,241 total)