1. Список говнокодов пользователя Kaldblpb

    Всего: 3

  2. SQL / Говнокод #23214

    0

    1. 01
    2. 02
    3. 03
    4. 04
    5. 05
    6. 06
    7. 07
    8. 08
    9. 09
    10. 10
    11. 11
    12. 12
    13. 13
    14. 14
    15. 15
    16. 16
    17. 17
    18. 18
    19. 19
    20. 20
    21. 21
    22. 22
    23. 23
    24. 24
    25. 25
    26. 26
    27. 27
    28. 28
    29. 29
    30. 30
    CREATE TABLE [dbo].[TBL_JOUR_PRODUCTION_PLAN_KK_BH](
    	[JPPKKBH_ID] [uniqueidentifier] NOT NULL,
    	[JPPKKBH_JPKKBH_ID] [uniqueidentifier] NOT NULL,
    	[JPPKKBH_WC_ID] [int] NOT NULL,
    	[JPPKKBH_DATE] [datetime] NOT NULL,
    	[JPPKKBH_QTY] [numeric](30, 5) NOT NULL,
    	[JPPKKBH_QTYF] [numeric](30, 5) NOT NULL,
    	[JPPKKBH_COMENT] [varchar](8000) NULL,
    	[JPPKKBH_DESCRIPTION] [varchar](8000) NOT NULL,
    	[JPPKKBH_WHO] [varchar](150) NOT NULL,
    	[JPPKKBH_WHO_ID] [uniqueidentifier] NOT NULL,
    	[JPPKKBH_WHEN] [datetime] NOT NULL,
    (
    
    CREATE TABLE [dbo].[TBL_JOUR_PRODUCTION_PLAN_KK_BH_HISTORY](
    	[JPPKKBHH_ID] [uniqueidentifier] NOT NULL,
    	[JPPKKBHH_JPPKKBH_ID] [uniqueidentifier] NOT NULL,
    	[JPPKKBHH_JPPKKBH_JPKKBH_ID] [uniqueidentifier] NOT NULL,
    	[JPPKKBHH_JPPKKBH_WC_ID] [int] NOT NULL,
    	[JPPKKBHH_JPPKKBH_DATE] [datetime] NOT NULL,
    	[JPPKKBHH_JPPKKBH_QTY] [numeric](30, 5) NOT NULL,
    	[JPPKKBHH_JPPKKBH_QTYF] [numeric](30, 5) NOT NULL,
    	[JPPKKBHH_JPPKKBH_COMENT] [varchar](8000) NULL,
    	[JPPKKBHH_JPPKKBH_DESCRIPTION] [varchar](8000) NOT NULL,
    	[JPPKKBHH_JPPKKBH_WHO_ID] [uniqueidentifier] NULL,
    	[JPPKKBHH_JPPKKBH_WHEN] [datetime] NOT NULL,
    	[JPPKKBHH_OPER] [int] NOT NULL,
    	[JPPKKBHH_WHO_ID] [uniqueidentifier] NOT NULL,
    	[JPPKKBHH_WHEN] [datetime] NOT NULL,
    (

    no comments

    Kaldblpb, 25 Июля 2017

    Комментарии (17)
  3. Pascal / Говнокод #22428

    −15

    1. 1
    2. 2
    3. 3
    4. 4
    5. 5
    6. 6
    var
        crit: string;
    
      crit := ' parent_id = ' + tabb;
    
      GetData(dsTEMPCNTR, 'select * from units where ' + crit);

    переменная crit более нигде не используется)

    Kaldblpb, 22 Февраля 2017

    Комментарии (11)
  4. Pascal / Говнокод #22427

    −16

    1. 1
    AddParPro(IntToStr(dsProdProd_id.AsInteger))

    Kaldblpb, 22 Февраля 2017

    Комментарии (4)