PROBLEM TRACING QUERIES

  • Hi

    Whenver i am trying to update certain records in the table with my application , it is not getting updated. The error message i am getting is : Invalid use of Null

    One checking in the background by using profiler , i am not able to trace any query or SP being used to update the values in the table. It is just showing :

    exec [DBname]..sp_columns_rowset N'v_DBname', NULL, NULL

    Please let me know how to proceed on this.!!!!!!!

  • Check the table structure, and see if the column allows null values. post us the structure of the table you are trying to insert 😀

  • Service_nocharno6 no

    salespsncharno8 yes

    Recordintno410 0 no

    Auto_closebitno1 no

    Is_rmabitno1 no

    Retainerbitno1 no

    Stscharno2 yes

    Intstscharno6 yes

    PO_nocharno20 yes

    Documentcharno20 yes

    Job_nocharno6 yes

    Alt_nocharno6 yes

    Sts_prevcharno2 yes

    Territorycharno8 yes

    Remit_tocharno8 yes

    Termscharno6 yes

    Tax_codecharno9 yes

    User_addcharno8 yes

    User_modcharno8 yes

    bill_custcharno10 yes

    CUSTOMERcharno10 yes

    Siteidcharno10 yes

    Namecharno40 yes

    Addresscharno40 yes

    Address01charno40 yes

    Citycharno15 yes

    Provincecharno3 yes

    Postalcharno10 yes

    Countrycharno15 yes

    Contactcharno20 yes

    Phonecharno14 yes

    Extensioncharno8 yes

    Techniciancharno8 yes

    Coveragecharno1 yes

    Prioritycharno2 yes

    Branchcharno8 yes

    Tm_zonecharno8 yes

    Inv_typecharno1 yes

    Cont_nocharno6 yes

    Printedcharno1 yes

    Cust_groupcharno8 yes

    Sourcecharno2 yes

    Openxcharno1 yes

    Assignedcharno1 yes

    Bunn_labrcharno1 yes

    Bunn_travcharno1 yes

    Bunn_partcharno1 yes

    Line_stscharno2 yes

    Cont_callcharno1 yes

    Seqcharno12 yes

    Item_nocharno30 yes

    Descriptcharno40 yes

    Alt_refcharno30 yes

    Serial_nocharno30 yes

    Equipidcharno10 yes

    Serv_typecharno6 yes

    Problemcharno8 yes

    Causecharno8 yes

    Repfixcharno8 yes

    Ent_datedatetimeno8 yes

    Req_datedatetimeno8 yes

    Dis_datedatetimeno8 yes

    Arv_datedatetimeno8 yes

    Cmp_datedatetimeno8 yes

    Lat_datedatetimeno8 yes

    Res_datedatetimeno8 yes

    Invdatdatetimeno8 yes

    Beg_datedatetimeno8 yes

    End_datedatetimeno8 yes

    mod_datedatetimeno8 yes

    mod_timeintno410 0 yes

    Callbacknumericno52 0 yes

    Locationnumericno54 0 yes

    Ent_timenumericno54 0 yes

    Req_timenumericno54 0 yes

    Dis_timenumericno54 0 yes

    Arv_timenumericno54 0 yes

    Cmp_timenumericno54 0 yes

    Lat_timenumericno54 0 yes

    Res_timeintno410 0 yes

    Res_calcintno410 0 yes

    No_techsnumericno54 0 yes

    No_itemsnumericno54 0 yes

    Totalnumericno917 5 yes

    Tax1_totnumericno917 5 yes

    Tax2_totnumericno917 5 yes

    Tax3_totnumericno917 5 yes

    Tax4_totnumericno917 5 yes

    Tax5_totnumericno917 5 yes

    Invnumintno410 0 yes

    Batnumnumericno56 0 yes

    Cmp_durnintno410 0 yes

    Nxttasknumericno52 0 yes

    Rma_nonumericno56 0 yes

    Admin_feenumericno57 2 yes

    Durnnumericno56 0 yes

    Ret_amtnumericno917 5 yes

    Memotextno16 yes

    Memo_altntextno16 yes

    Memo_longtextno16 yes

    projnumcharno6 yes

    phasnumcharno3 yes

    tasknumcharno3 yes

    emailcharno60 yes

    cre_datedatetimeno8 yes

    cre_timenumericno54 0 yes

    cre_zonecharno8 yes

    pager_nocharno30 yes

    fax_nocharno30 yes

    addr3charno40 yes

    addr4charno40 yes

    lab_pernumericno53 0 yes

    trv_pernumericno53 0 yes

    exp_pernumericno53 0 yes

    con_pernumericno53 0 yes

    prt_pernumericno53 0 yes

    ot1_pernumericno53 0 yes

    ot2_pernumericno53 0 yes

    salesmancharno8 yes

    salesman2charno8 yes

    salesman3charno8 yes

    salesman4charno8 yes

    salesman5charno8 yes

    comm1numericno57 3 yes

    comm2numericno57 3 yes

    comm3numericno57 3 yes

    comm4numericno57 3 yes

    comm5numericno57 3 yes

    branch1charno8 yes

    branch2charno8 yes

    branch3charno8 yes

    branch4charno8 yes

    branch5charno8 yes

    bcom1numericno57 3 yes

    bcom2numericno57 3 yes

    bcom3numericno57 3 yes

    bcom4numericno57 3 yes

    bcom5numericno57 3 yes

    FixedExchbitno1 no

    curr_codecharno6 yes

    bas_to_cusnumericno918 6 yes

    bas_to_eurnumericno918 6 yes

    eur_to_cusnumericno918 6 yes

    cus_to_basnumericno918 6 yes

    tax1_tot_basnumericno917 5 yes

    tax2_tot_basnumericno917 5 yes

    tax3_tot_basnumericno917 5 yes

    tax4_tot_basnumericno917 5 yes

    tax5_tot_basnumericno917 5 yes

    total_basnumericno917 5 yes

    fso_versintno410 0 yes

    user_def1charno15 yes

    user_def2charno15 yes

    user_def3charno15 yes

    esc_levelcharno2 yes

    rma_typecharno1 yes

    On few of the columns the not nl is not enabled. and application team is trying to insert the values from the form . Pls let me know if u need any more info

  • Hi Nikel

    This seems fine, the basic is that if you enable the option not null to be true, you have to insert values to that filed, i m sure you will not be inserting all this values from a form, Personally i think that you are missing some data that has to be inserted to table,

    To check change the table structure to allow null and run the application, this should insert, if it does then your developers have to check application, and you will also know where null is inserted

Viewing 4 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic. Login to reply