E3200 clears DHCP table randomly
My E3200 has been clearing it's DHCP table at random times. When it's been cleared the router starts handing out duplicate addresses. It's running the latest (1.0.02 build 9 Sep 1, 2011) firmware and otherwise seems to be working fine. Any ideas what could cause this behavior?
Tried one last thing
1. Did full factory Reset
2. Reloaded firmware
3. Did Full Factory Reset
4. Manualy Enter all settings.
Still Clearing DHCP Client Table every 5 min
Network Settings
1. WAN DHCP Charter Buisness. (Static address) I know it is odd but it is Static asigned address via DHCP. Asigned Domain Hanseenv.net
2. LAN 192.168.10.1
3. Start Address: 192.168.10.175
4. Max Number of Clients: 75
5. Static DNS(1-3) 192.168.10.100, 192.168.10.100, 0.0.0.0
6. WINS: 192.168.10.100
Similar Messages
-
BT HomeHub 2 (black one with blue/orange flashing lights)
Is there any simple way of clearing out the entire DHCP table and starting again?
I use Virtual Machines (VM) a lot and every time I use them from the laptop/desktop, the homehub DHCP adds it as a new wired connection. When I look at the DHCP table, it has
lots of entries with the same machine name and mac address even though the retention period is set to 3 days.
lots of entries of VMs which I haven't used for ages but for some odd reason, their leases get renewed.
entries of machines which were last connected last Christmas but again, their lease has been renewed
lots of expired entries (if it has expired, why keep on to it?)
My guess is that the wireless sometimes fails to connect because all the entries in the DHCP table have been used and it cannot find a free one.
Problems
When I click on any of the dead entries, the homehub goes into reset mode. I don't mind going through the entire table one at a time but not if it is going to reset. Also there are almost 50 entries with the same MAC and machine name. Quite difficult to remember which one you got to if they cannot be cleared down
If I do a reset, it still remembers all the entries.
If I disable DHCP and reenable it, it still remembers all the entires
I haven't tried changing the DHCP address range yet
Is there any simple way of clearing out the entire DHCP table?cup wrote:
BT HomeHub 2 (black one with blue/orange flashing lights)
Is there any simple way of clearing out the entire DHCP table and starting again?
I use Virtual Machines (VM) a lot and every time I use them from the laptop/desktop, the homehub DHCP adds it as a new wired connection. When I look at the DHCP table, it has
lots of entries with the same machine name and mac address even though the retention period is set to 3 days.
lots of entries of VMs which I haven't used for ages but for some odd reason, their leases get renewed.
entries of machines which were last connected last Christmas but again, their lease has been renewed
lots of expired entries (if it has expired, why keep on to it?)
My guess is that the wireless sometimes fails to connect because all the entries in the DHCP table have been used and it cannot find a free one.
Problems
When I click on any of the dead entries, the homehub goes into reset mode. I don't mind going through the entire table one at a time but not if it is going to reset. Also there are almost 50 entries with the same MAC and machine name. Quite difficult to remember which one you got to if they cannot be cleared down
If I do a reset, it still remembers all the entries.
If I disable DHCP and reenable it, it still remembers all the entires
I haven't tried changing the DHCP address range yet
Is there any simple way of clearing out the entire DHCP table?
AFAIK, the answer is no, have you tried setting the IP to dynamic when your VM's connect? i.e. always use the same ip address, or can you assign a static ip to a VM....I'm fumbling in the dark here because I don't know enough about using VM's. -
How to clear dhcp clients table
Does anyone know how to clear the DHCP Clients Table?
I have a WRV54G.
Regards
Solved!
Go to Solution.I understand this is a very old post, but since I found it when I was looking for the same answer in 2009, I thought I would go ahead and give my $.02 worth.
I have a different router, so this may not be present in yours.
I use a WRT54GLwith firmware version 4.30.7 and finally found on the Status page under "Local Network" a link to the DHCP table. You can click on that and delete the existing IPs. -
How to clear UNB table in the payroll result?
Hi,
We are getting the payroll error- The gross wages do not cover the negative offset that has been forwarded. Therefore, no gross up is permitted while running the Grossup.
I see the below table "UNB table" in the last payroll result. "UNB - Unbalance table used for tax retrocalculation" .
I think we are getting the above error because of this UNB table, can anyone help me to how to clear this table?
When we run the regular payroll, no tax is being deducted.
Please help
SaurabhHi Arti,
Thanks for your reply!!..
Seeing your reply, it gives me bit confidence to crack the existing problem, however, I'm still not clear with your answer... let me explain you the problem-
1. Employee was given 350,000 though Taxable Bonus WT with regular pay check
2. Later it came to know- out of the above amount, 75000 was Grossup amount
3. So in next payroll run, they entered -75000/- in regular Taxable bonus WT and +75000 in Grossup WT and also they deleted one IT210 record of GA tax authority which was wrongly created; and ran the payroll
4. Since then, in next payroll period- No tax is being deducted, so we are creating IT221 infotypes with Tax wagetype
5. If we are running the Grossup wage, payroll error- The gross wages do not cover the negative offset that has been forwarded; therefore, no grossup is permitted.
While running the regular payroll, overpayment Wagetype is being generated.
Now, I saw this UNB table is created and the below wagetype are there in the UNB table-
WT /5UT amount 0.00
WT 5430 amount -75000
WT 0200 amount 12500 ( Monthly salary)
WT 4530 amount 350000
Now I am thinking, if we are deducting tax through IT221,if we clear this UNB table, our problem might get resolved
It will be a great help for me if you can tell-
1. how to check, claims process is implemented or not?
2. I have good HCM experiece but this claims process is very new to me- pls guide me how to do that
Waiting for your reply, thanks in advance
Saurabh Garg -
Clear the table data in PDF form
Hi all,
I am workin gon WD ABAP, where i have a Interactive UI elelemt, and i am calling a PDF in to it.
The PDF has a table, of which i am able to display , read and save the data to Database.
But after clicking on the save button , i want the table data to be cleared, which is not happening.
I tried with binding with an empty internal table, but that gives an error "SOM Expression....."..!!
Can any one let me know how to clear the PDF table data after clicking on some button.?
All replies will be appreciated...Hi Runal,
I am not sure about PDF as never worked on it but we can clear the table on view by simply invalidating the node by which you have binded your table. try to invalidate if it helps...
this is the code to invalidate....
lo_nd_nodename->invalidate( ).
regards
Pranav -
Okay-- I've given up on the fact that it takes 2+ hours for the DHCP table on my E4200 to completely fill in with all the devices connected to my network, but maybe someone has a solution to this new issue:
When I click on DHCP table to display all the devices on my Local Network, it does list all the connected devices but some (5%) of the entries do not have have an entry in the CLIENT NAME field. The field is blank. It does show the IP address, the MAC address, etc, but some of the devices do not appear to grab a name.
I talked to tech support at the various device manufacturers and they all said it is up to the router to grab the device name. My question: If the E4200 does not grab the client name from a device, is there a way to add the name of the device to the DHCP table? I don't see any obvious editing options.
Thanks in advance for any help.
RonFLWhat version of E4200 are you using?If you have the E4200 v1 , you won't be able to add a name on those devices under DHCP list. But if you have the E4200 v2, you can update it to the Linksys Smart Wi-Fi Firmware. There, you can edit the names of those connected devices.
Help, learn and share -
How to clear the table control content
Hi All,
I am doing BDC for cost estimate change. In this the transaction KKPB contains table control. So when ever i process with particular cost estimate, i need to fill the table control with the values. Here when i am doing the BDC for change, i need to clear all the contents of the table control then i need to fill with new entries.
So my problems is how to clear the table control entriee?? please help me in this??
Many Thanks,
Raghu.Hi this might help u.
Check the below link.
http://www.sap-img.com/abap/bdc-example-using-table-control-in-bdc.htm
THis is example to upload the Bank details of the Vendor which has the TC.
REPORT zprataptable2
NO STANDARD PAGE HEADING LINE-SIZE 255.
DATA : BEGIN OF itab OCCURS 0,
i1 TYPE i,
lifnr LIKE rf02k-lifnr,
bukrs LIKE rf02k-bukrs,
ekorg LIKE rf02k-ekorg,
ktokk LIKE rf02k-ktokk,
anred LIKE lfa1-anred,
name1 LIKE lfa1-name1,
sortl LIKE lfa1-sortl,
land1 LIKE lfa1-land1,
akont LIKE lfb1-akont,
fdgrv LIKE lfb1-fdgrv,
waers LIKE lfm1-waers,
END OF itab.
DATA : BEGIN OF jtab OCCURS 0,
j1 TYPE i,
banks LIKE lfbk-banks,
bankl LIKE lfbk-bankl,
bankn LIKE lfbk-bankn,
END OF jtab.
DATA : cnt(4) TYPE n.
DATA : fdt(20) TYPE c.
DATA : c TYPE i.
INCLUDE bdcrecx1.
START-OF-SELECTION.
CALL FUNCTION 'WS_UPLOAD'
EXPORTING
filename = 'C:\first1.txt'
filetype = 'DAT'
TABLES
data_tab = itab.
CALL FUNCTION 'WS_UPLOAD'
EXPORTING
filename = 'C:\second.txt'
filetype = 'DAT'
TABLES
data_tab = jtab.
LOOP AT itab.
PERFORM bdc_dynpro USING 'SAPMF02K' '0100'.
PERFORM bdc_field USING 'BDC_CURSOR'
'RF02K-KTOKK'.
PERFORM bdc_field USING 'BDC_OKCODE'
'/00'.
PERFORM bdc_field USING 'RF02K-LIFNR'
itab-lifnr.
PERFORM bdc_field USING 'RF02K-BUKRS'
itab-bukrs.
PERFORM bdc_field USING 'RF02K-EKORG'
itab-ekorg.
PERFORM bdc_field USING 'RF02K-KTOKK'
itab-ktokk.
PERFORM bdc_dynpro USING 'SAPMF02K' '0110'.
PERFORM bdc_field USING 'BDC_CURSOR'
'LFA1-LAND1'.
PERFORM bdc_field USING 'BDC_OKCODE'
'/00'.
PERFORM bdc_field USING 'LFA1-ANRED'
itab-anred.
PERFORM bdc_field USING 'LFA1-NAME1'
itab-name1.
PERFORM bdc_field USING 'LFA1-SORTL'
itab-sortl.
PERFORM bdc_field USING 'LFA1-LAND1'
itab-land1.
PERFORM bdc_dynpro USING 'SAPMF02K' '0120'.
PERFORM bdc_field USING 'BDC_CURSOR'
'LFA1-KUNNR'.
PERFORM bdc_field USING 'BDC_OKCODE'
'/00'.
PERFORM bdc_dynpro USING 'SAPMF02K' '0130'.
PERFORM bdc_field USING 'BDC_CURSOR'
'LFBK-BANKN(01)'.
PERFORM bdc_field USING 'BDC_OKCODE'
'=ENTR'.
cnt = 0.
LOOP AT jtab WHERE j1 = itab-i1.
cnt = cnt + 1.
CONCATENATE 'LFBK-BANKS(' cnt ')' INTO fdt.
PERFORM bdc_field USING fdt jtab-banks.
CONCATENATE 'LFBK-BANKL(' cnt ')' INTO fdt.
PERFORM bdc_field USING fdt jtab-bankl.
CONCATENATE 'LFBK-BANKN(' cnt ')' INTO fdt.
PERFORM bdc_field USING fdt jtab-bankn.
IF cnt = 5.
cnt = 0.
PERFORM bdc_dynpro USING 'SAPMF02K' '0130'.
PERFORM bdc_field USING 'BDC_CURSOR'
'LFBK-BANKS(01)'.
PERFORM bdc_field USING 'BDC_OKCODE'
'=P+'.
PERFORM bdc_dynpro USING 'SAPMF02K' '0130'.
PERFORM bdc_field USING 'BDC_CURSOR'
'LFBK-BANKN(02)'.
PERFORM bdc_field USING 'BDC_OKCODE'
'=ENTR'.
ENDIF.
ENDLOOP.
PERFORM bdc_dynpro USING 'SAPMF02K' '0130'.
PERFORM bdc_field USING 'BDC_CURSOR'
'LFBK-BANKS(01)'.
PERFORM bdc_field USING 'BDC_OKCODE'
'=ENTR'.
PERFORM bdc_dynpro USING 'SAPMF02K' '0210'.
PERFORM bdc_field USING 'BDC_CURSOR'
'LFB1-FDGRV'.
PERFORM bdc_field USING 'BDC_OKCODE'
'/00'.
PERFORM bdc_field USING 'LFB1-AKONT'
itab-akont.
PERFORM bdc_field USING 'LFB1-FDGRV'
itab-fdgrv.
PERFORM bdc_dynpro USING 'SAPMF02K' '0215'.
PERFORM bdc_field USING 'BDC_CURSOR'
'LFB1-ZTERM'.
PERFORM bdc_field USING 'BDC_OKCODE'
'/00'.
PERFORM bdc_dynpro USING 'SAPMF02K' '0220'.
PERFORM bdc_field USING 'BDC_CURSOR'
'LFB5-MAHNA'.
PERFORM bdc_field USING 'BDC_OKCODE'
'/00'.
PERFORM bdc_dynpro USING 'SAPMF02K' '0310'.
PERFORM bdc_field USING 'BDC_CURSOR'
'LFM1-WAERS'.
PERFORM bdc_field USING 'BDC_OKCODE'
'/00'.
PERFORM bdc_field USING 'LFM1-WAERS'
itab-waers.
PERFORM bdc_dynpro USING 'SAPMF02K' '0320'.
PERFORM bdc_field USING 'BDC_CURSOR'
'RF02K-LIFNR'.
PERFORM bdc_field USING 'BDC_OKCODE'
'=ENTR'.
PERFORM bdc_dynpro USING 'SAPLSPO1' '0300'.
PERFORM bdc_field USING 'BDC_OKCODE'
'=YES'.
PERFORM bdc_transaction USING 'XK01'.
ENDLOOP.
PERFORM close_group.
Header file:
1 63190 0001 0001 0001 mr bal188 b in 31000 a1 inr
2 63191 0001 0001 0001 mr bal189 b in 31000 a1 inr
TC file:
1 in sb 11000
1 in sb 12000
1 in sb 13000
1 in sb 14000
1 in sb 15000
1 in sb 16000
1 in sb 17000
1 in sb 18000
1 in sb 19000
1 in sb 20000
1 in sb 21000
1 in sb 22000
2 in sb 21000
2 in sb 22000
REPORT zmm_pr_upload_mat
NO STANDARD PAGE HEADING
LINE-SIZE 255.
Standard Include for Selection Screen
INCLUDE bdcrecx1.
Internal Table for Upload Data
DATA: BEGIN OF i_pr OCCURS 0,
Header Screen
sno(3), " SNo
bsart(004), " PR Type
epstp(001), " Item Category
knttp(001), " Account Assignment
eeind(010), " Delivery Date
lpein(001), " Category of Del Date
werks(004), " Plant
lgort(004), " Storage Location
ekgrp(003), " Purchasing Group
matkl(009), " Material Group
bednr(010), " Tracking No
afnam(012), " Requisitioner
Item Details
matnr(018), " Material No
menge(017), " Quantity
badat(010),
frgdt(010),
preis(014), " Valuation Price
waers(005), " Currency
peinh(005),
wepos(001),
repos(001),
sakto(010), " GL Account
kostl(010), " Cost Center
bnfpo(005),
END OF i_pr.
Internal Table for header Data
DATA: BEGIN OF it_header OCCURS 0,
sno(3), " SNo
bsart(004), " PR Type
epstp(001), " Item Category
knttp(001), " Account Assignment
eeind(010), " Delivery Date
werks(004), " Plant
lgort(004), " Storage Location
ekgrp(003), " Purchasing Group
matkl(009), " Material Group
bednr(010), " Tracking No
afnam(012), " Requisitioner
END OF it_header.
Internal Table for Item Data
DATA: BEGIN OF it_item OCCURS 0,
sno(3), " SNo
matnr(018), " Material No
menge(017), " Quantity
preis(014), " Valuation Price
sakto(010), " GL Account
kostl(010), " Cost Center
END OF it_item.
Data Variables & Constants
CONSTANTS : c_x VALUE 'X'. " Flag
DATA : v_l(2), " Counter
v_rowno(5), " Row No
v_2(2), " Counter
v_rows LIKE sy-srows, " Rows in TC
v_field(45). " String
Parameters
PARAMETERS: p_file LIKE ibipparms-path. " Filename
At selection-screen on Value Request for file Name
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.
Get the F4 Values for the File
CALL FUNCTION 'F4_FILENAME'
EXPORTING
program_name = syst-cprog
dynpro_number = syst-dynnr
IMPORTING
file_name = p_file.
Start of Selection
START-OF-SELECTION.
Open the BDC Session
PERFORM open_group.
Upload the File into internal Table
CALL FUNCTION 'UPLOAD'
EXPORTING
filename = p_file
filetype = 'DAT'
TABLES
data_tab = i_pr
EXCEPTIONS
conversion_error = 1
invalid_table_width = 2
invalid_type = 3
no_batch = 4
unknown_error = 5
gui_refuse_filetransfer = 6
OTHERS = 7.
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
SORT i_pr BY sno.
LOOP AT i_pr.
MOVE-CORRESPONDING i_pr TO it_item.
APPEND it_item.
CLEAR it_item.
AT END OF sno.
READ TABLE i_pr INDEX sy-tabix.
MOVE-CORRESPONDING i_pr TO it_header.
APPEND it_header.
CLEAR it_header.
ENDAT.
ENDLOOP.
SORT it_header BY sno.
SORT it_item BY sno.
v_rows = sy-srows - 6.
Upload the Data from Internal Table
LOOP AT it_header.
Header Data
PERFORM bdc_dynpro USING 'SAPMM06B' '0100'.
PERFORM bdc_field USING 'BDC_CURSOR'
'EBAN-BEDNR'.
PERFORM bdc_field USING 'BDC_OKCODE'
'/00'.
PERFORM bdc_field USING 'EBAN-BSART'
it_header-bsart.
PERFORM bdc_field USING 'RM06B-EPSTP'
it_header-epstp.
PERFORM bdc_field USING 'EBAN-KNTTP'
it_header-knttp.
PERFORM bdc_field USING 'RM06B-EEIND'
it_header-eeind.
PERFORM bdc_field USING 'RM06B-LPEIN'
it_header-lpein.
PERFORM bdc_field USING 'EBAN-WERKS'
it_header-werks.
PERFORM bdc_field USING 'EBAN-LGORT'
it_header-lgort.
PERFORM bdc_field USING 'EBAN-EKGRP'
it_header-ekgrp.
PERFORM bdc_field USING 'EBAN-MATKL'
it_header-matkl.
PERFORM bdc_field USING 'EBAN-BEDNR'
it_header-bednr.
PERFORM bdc_field USING 'EBAN-AFNAM'
it_header-afnam.
Item Details
v_l = 0.
To add no. of rows
v_2 = 0 .
As the screen is showing 13 rows defaulted to 130
v_rowno = 130 .
LOOP AT it_item WHERE sno = it_header-sno.
v_l = v_l + 1.
IF v_l = 14 .
IF v_2 = 12 .
v_2 = 12 .
v_l = 2 .
From second time onwards it is displaying 12 rows only
v_rowno = v_rowno + 120 .
PERFORM bdc_dynpro USING 'SAPMM06B' '0106'.
PERFORM bdc_field USING 'BDC_CURSOR'
'RM06B-BNFPO'.
PERFORM bdc_field USING 'RM06B-BNFPO'
v_rowno.
PERFORM bdc_field USING 'BDC_OKCODE'
'/00'.
PERFORM bdc_field USING 'BDC_OKCODE'
'/00'.
ELSE.
V_2 initialized to 12 for second screen purpose
v_2 = 12 .
v_l = 2 .
PERFORM bdc_dynpro USING 'SAPMM06B' '0106'.
PERFORM bdc_field USING 'BDC_CURSOR'
'RM06B-BNFPO'.
PERFORM bdc_field USING 'RM06B-BNFPO'
v_rowno .
PERFORM bdc_field USING 'BDC_OKCODE'
'/00'.
PERFORM bdc_field USING 'BDC_OKCODE'
'/00'.
ENDIF.
ENDIF.
PERFORM bdc_dynpro USING 'SAPMM06B' '0106'.
PERFORM bdc_field USING 'BDC_OKCODE'
'/00'.
CLEAR v_field.
CONCATENATE 'EBAN-MATNR(' v_l ')' INTO v_field.
PERFORM bdc_field USING v_field it_item-matnr.
CLEAR v_field.
CONCATENATE 'EBAN-MENGE(' v_l ')' INTO v_field.
PERFORM bdc_field USING v_field it_item-menge.
PERFORM bdc_dynpro USING 'SAPMM06B' '0102'.
PERFORM bdc_field USING 'BDC_CURSOR'
'EBAN-PREIS'.
PERFORM bdc_field USING 'BDC_OKCODE'
'/00'.
PERFORM bdc_field USING 'EBAN-PREIS'
it_item-preis.
PERFORM bdc_dynpro USING 'SAPMM06B' '0505'.
PERFORM bdc_field USING 'BDC_CURSOR'
'EBKN-SAKTO'.
PERFORM bdc_field USING 'BDC_OKCODE'
'=ENTE'.
PERFORM bdc_field USING 'EBKN-SAKTO'
it_item-sakto.
Cost Center
PERFORM bdc_dynpro USING 'SAPLKACB' '0002'.
PERFORM bdc_field USING 'BDC_CURSOR'
'COBL-KOSTL'.
PERFORM bdc_field USING 'BDC_OKCODE'
'=ENTE'.
PERFORM bdc_field USING 'COBL-KOSTL'
it_item-kostl.
PERFORM bdc_field USING 'BDC_OKCODE'
'=ENTE'.
ENDLOOP.
PERFORM bdc_dynpro USING 'SAPMM06B' '0106'.
PERFORM bdc_field USING 'BDC_CURSOR'
'RM06B-BNFPO'.
PERFORM bdc_field USING 'BDC_OKCODE'
'=BU'.
Call The Transaction
PERFORM bdc_transaction USING 'ME51'.
ENDLOOP.
Close the BDC Session
PERFORM close_group.
with regards,
Hema Sundara. -
How do i view dhcp table in aiport 6.0
Just let Apple upgrade my Airport utility and now I can't find the router's DHCP table.
AirPort Utility 6.0 is really more an AirPort Utility "Lite" application....similar to AirPort Utility for the iPhone and iPad.
You might want to take a look at AirPort Utility 5.6 for your needs. Yes....you can run both 5.6 and 6.0 on your Mac and choose what you want to use at the time.
Downloads -
Hi,
I need to clear a table (this table is a context node and the rows are the attributes of this node) when I click on the button 'Back'.
What method can I use?
Tks...Invalidate your node where you want to clear your table.
You can use following code.
data lo_nd_<node_name> type ref to if_wd_context_node.
lo_nd_<node_name> = wd_context->get_child_node( name = wd_this->wdctx_<node_name> ).
lo_nd_<node_name>->invalidate( ). " in place of <node_name> put name of your node which is binded to table UI.
I hope it helps.
Regars,
Rohit -
Clients don't show in DHCP tables
I'm trying to configure port forwarding in a WRT120N, firmware 1.0.01, for a Foscam FI8910W IP camera. I was successful before on another router and ISP, but I'm having no luck here. I think the problem may have to do with my DHCP reservation. On but Setup Basic Setup tab, which I click "DHCP Reservation", the DHCP tables don't show the camera, even though I am actively communicating with the camera wirelessly at the time. Other wireless devices sometimes appear, sometimes not. Is this a problem? Is it a known problem? Is there a higher release of firmware that addresses it? Thanks for any help.
Hello, jmp76123. This looks like wireless interference to me. Try adjusting the wireless channel of the WRT120N to either 1, 3, 6, 9, or 11 to reduce this. Play around with the channels until you get the desired setting. By the way, a new firmware (Ver.1.0.07 Build 02) is available on the Linksys website. Check this link out: http://support.linksys.com/en-us/support/routers/WRT120N/download
Hope this helps. Have a nice day ahead!
Help, learn and share -
제품 : SQL*PLUS
작성날짜 : 2004-05-20
TABLE에서 RANDOM하게 DATA를 가져오는방법
======================================
PURPOSE
아래의 내용은 Sample table scan을 통해서 table의 data를 가져올 때 마다
result set에서 Random하게 가져오는 방법을 기술하고 있습니다.
8i의 새로운 기능입니다.
Explanation
기본적으로 오라클은 data를 access할 때는
1)Full table scan
2) Sample table scan.
의 두 가지 방법이 있습니다.
1. Full Table Scan
이 방법은 table의 모든 행을 scan한 후 가져오는 방법입니다.
Full table scan을 위해서 Oracle은 table의 모든 row들을 읽고
각각의 행이 where 조건에 만족하는지는 확인합니다. Oracle은
table에 관련된 모든 block을 차례로 읽기 때문에 full table scan은
multiblock 읽기를 통해서 효율적으로 이루어 집니다.
2. Sample Table Scan
Sample table scan 은 table의 data중 무작위적으로 sample을
가져옵니다. 이러한 방법은 SQL문장의 FROM 절에 SAMPLE
option 이나 SAMPLE BLOCK option을 기술 해 줌으로써
사용되어 집니다.
SAMPLE option
Sample table scan은 row 단위로 sample data를 가져올 때
사용하는 option 입니다. (SAMPLE option),
Oracle 은 특정 비율(%)의 row를 테이블에서 읽은 후 각각의
Row가 WHERE 절의 조건에 만족하는지 확인 합니다.
SAMPLE BLOCK option
Sample table scan은 block 단위로 sample data를 가져올 때
사용하는 option 입니다. (SAMPLE BLOCK option),
Oracle 은 특정 비율(%)의 테이블 block을 읽은 후 각각의 row가
WHERE 절에 만족하는지 확인 합니다.
Sample_Percent
Sample_percent 은 전체 row 또는 sample이 포함된 block중에서
가져올 비율(%)를 지정해 줍니다. Sample value 은 반드시
0.000001 와 99.999999 사이에 존재 하여야 합니다.
Example
SQL> SELECT * FROM emp SAMPLE (30);
EMPNO ENAME JOB MGR HIREDATE SAL COMM
DEPTNO
7499 ALLEN SALESMAN 7698 20-FEB-81 1600 300
30
7654 MARTIN SALESMAN 7698 28-SEP-81 1250 1400
30
7902 FORD ANALYST 7566 03-DEC-81 3000
20
SQL> SELECT * FROM emp SAMPLE BLOCK (10);
EMPNO ENAME JOB MGR HIREDATE SAL COMM
DEPTNO
7521 WARD SALESMAN 7698 22-FEB-81 1250
500 30
7934 MILLER CLERK 7782 23-JAN-82
1300 10
제약사항
1. 하나의 테이블에서 select할 경우만 사용하실 수 있습니다.
Join이나 remote table은 지원하지 않습니다.
2. SAMPLE option은 사용하실 때, Oracle은 자동적으로 cost-based
optimizer를
사용하게 됩니다. Rule-based optimizer 은 지원되지 않습니다.
3. View는 지원하지 않습니다.
SQL> CREATE VIEW sample_view AS SELECT * FROM emp SAMPLE (30);
CREATE VIEW sample_view AS SELECT * FROM emp SAMPLE (30)
ERROR at line 1:
ORA-00933: SQL command not properly ended
4. 8.1.6 이하에서는 PL/SQL 에서 SAMPLE BLOCK을 지원하지 않습니다.
8.1.5 에서는 아래와 같은 error가 발생합니다.
SQL> ed sample.sql
DECLARE
CURSOR C1 IS
SELECT * FROM emp SAMPLE (10);
C1_rec c1%ROWTYPE;
temp number := 0;
BEGIN
OPEN C1;
WHILE temp = 1 LOOP
FETCH c1 INTO c1_rec;
IF c1%NOTFOUND THEN
temp := 0;
ELSE
DBMS_OUTPUT.PUT_LINE(TO_CHAR(c1_rec.empno));
END IF ;
end LOOP;
CLOSE c1;
END;
SQL> @sample.sql
SELECT * FROM emp SAMPLE (10);
ERROR at line 3:
ORA-06550: line 3, column 34:
PLS-00103: Encountered the symbol "(" when expecting one of the
following:
, ; for group having intersect minus order start union where
connect
The symbol "having" was substituted for "(" to continue.
5. 작은 수의 row를 가진 table에서 sample이나 sample block option을
사용 시에는 일정 비율(%)의 sample data가 return되지 않을 수도
있습니다.
Reference Documents
1. Note:95455.1
2. ORACLE 8i, SQL Reference, Volume 2, Release 8.1.5 (PartA67795-01),
Chapter 7: SQL Statements, Pages 7-542 to 7-546.
3. ORACLE 8i, Concepts, Volume 2, Release 8.1.5 (Part A67783-01),
Chapter 23: Optimizer Operations, Page 23-34. -
Unusual / Unknown DHCP Table Entry
OK, so was having some issues with wireles printer this evening, still am, but that is a different story.
When I was looking in my DHCP table I noticed that all my entries are nice and neat and start 192..abc.e.f, but I found one entry in there that as below...
Unknown-54-88-0e-56-63-f2
54:88:0e:56:63:f2
10.122.21.114
00:00:09:01
It doesn't show up as a device either so I can't see a way of blocking it.
I've no idea what it is or where it is coming from, any help would be much appreciatedashfordianeagle wrote:
OK, so was having some issues with wireles printer this evening, still am, but that is a different story.
When I was looking in my DHCP table I noticed that all my entries are nice and neat and start 192..abc.e.f, but I found one entry in there that as below...
Unknown-54-88-0e-56-63-f2
54:88:0e:56:63:f2
10.122.21.114
00:00:09:01
It doesn't show up as a device either so I can't see a way of blocking it.
I've no idea what it is or where it is coming from, any help would be much appreciated
Its someone connected to your BTWifi hotspot. Note the IP address which is 10.122.21.114, that is an address issued by BT Wifi.
Its totally separate from your own network, so its not a security risk.
There are some useful help pages here, for BT Broadband customers only, on my personal website.
BT Broadband customers - help with broadband, WiFi, networking, e-mail and phones. -
Hi
Can anyone tell me how to clear the table control.
I have cleared the internal table .
But it is not getting cleared.
Cheers
ChristinaREPORT ZFI_CF_PLANING
NO STANDARD PAGE HEADING
MESSAGE-ID Z00.
*& TABLE DECLARATIONS
TABLES: ZFI_CF_PLANING,ZFI_CF_TABMAIN.
*& DATA DECLARATIONS
DATA: PAYDATE TYPE ZFI_CF_PLANING-CALDATE.
data : t_cvalue type zfi_cf_planing-cvalue,
t_cperiod type zfi_cf_planing-cperiod,
t_cyear type zfi_cf_planing-calyear,
*RES, "To Store Response Code of Dialog Box
V_MODE(4), "To Store sy-ucomm
V_buper TYPE T009B-POPER,
v_gjahr TYPE T009B-BDATJ,
V_Dbuper TYPE T009B-POPER,
v_Dgjahr TYPE T009B-BDATJ,
V_QTY_VALUE TYPE ZFI_CF_PLANING-INVALUE,
V_RAT_VALUE TYPE ZFI_CF_PLANING-INVALUE,
V_TOT_VALUE TYPE ZFI_CF_PLANING-INVALUE,
V_MAT_CONS TYPE ZFI_CF_PLANING-INVALUE,
V_CHECK TYPE ZFI_CF_PLANING-INVALUE,
V_code TYPE ZFI_CF_PLANING-code,
R_buper TYPE T009B-POPER,
R_gjahr TYPE T009B-BDATJ,
V_ACCNO TYPE ZFI_CF_TABMAIN-ACCNO,
V_ACCNO1 TYPE ZFI_CF_TABMAIN-ACCNO,
PDATUM TYPE D.
*--Table Control Declaration
CONTROLS MAIN TYPE TABLEVIEW USING SCREEN 100.
*& INTERNAL TABLE DECLARATIONS
data : it_final type standard table of ZFI_CF_PLANING initial size 0
with header line.
*data : it_final2 type standard table of ZFI_CF_PLANING initial size 0
*with header line.
DATA : IT_CHECK LIKE ZFI_CF_PLANING OCCURS 1 WITH HEADER LINE.
*& START-OF-SELECTION
START-OF-SELECTION.
SELECT *
INTO CORRESPONDING FIELDS OF TABLE IT_FINAL
FROM mara
up to 100 rows.
*--Calling the Screen
CALL SCREEN 100.
*& Module STATUS_0100 OUTPUT
Setting the Toolbar and Titlebar
MODULE STATUS_0100 OUTPUT.
SET PF-STATUS 'MENU'.
SET TITLEBAR 'TITLE'.
IF V_MODE = 'COPY'.
SELECT *
FROM ZFI_CF_PLANING
INTO TABLE IT_FINAL
where pyear = V_GJAHR
and pperiod = V_BUPER
and accno = zfi_cf_PLANING-accno.
SORT IT_FINAL BY BUOM DESCENDING.
DATA : V_DES TYPE ZFI_CF_TABMAIN-DESCRIP2.
SELECT SINGLE
DESCRIP2
FROM ZFI_CF_TABMAIN
INTO V_DES
WHERE CODE = 'EXSALE'
AND ACCNO = ZFI_CF_planing-ACCNO
or CODE = 'LSALE'.
IF SY-SUBRC = 0.
ZFI_CF_TABMAIN-DESCRIP2 = V_DES.
endif.
ENDIF.
IF V_MODE = 'CLEA'.
REFRESH IT_FINAL.
CLEAR : V_MODE.
ENDIF.
ENDMODULE. " STATUS_0100 OUTPUT
*& Module USER_COMMAND_0100 INPUT
Moving the modified records into other internal table
and displaying the those in ALV POPUP GRID
MODULE USER_COMMAND_0100 INPUT.
*BREAK-POINT.
CASE SY-UCOMM.
WHEN 'EXIT' or 'CANC' OR 'BACK'.
LEAVE PROGRAM.
WHEN 'COPY'.
V_MODE = SY-UCOMM.
V_ACCNO1 = ZFI_CF_PLANING-ACCNO.
V_Dbuper = ZFI_CF_PLANING-PPERIOD.
v_Dgjahr = ZFI_CF_PLANING-PYEAR.
CLEAR SY-UCOMM.
WHEN 'PROC'.
V_MODE = SY-UCOMM.
V_ACCNO1 = ZFI_CF_PLANING-ACCNO.
V_Dbuper = ZFI_CF_PLANING-PPERIOD.
v_Dgjahr = ZFI_CF_PLANING-PYEAR.
CLEAR SY-UCOMM.
WHEN 'CLEA'.
V_MODE = SY-UCOMM.
CLEAR SY-UCOMM.
ENDCASE.
ENDMODULE. " USER_COMMAND_0100 INPUT
*& Module SAVE_REC INPUT
Modifiying the current record of table control
MODULE SAVE_REC INPUT.
MOVE-CORRESPONDING ZFI_CF_PLANING TO IT_FINAL.
MODIFY IT_FINAL INDEX MAIN-CURRENT_LINE.
IF SY-SUBRC <> 0.
APPEND IT_FINAL.
ENDIF.
IF V_MODE = 'PROC'.
IF ZFI_CF_PLANING-CODE <> '' .
data : v_code1 type ZFI_CF_tabmain-code.
SELECT SINgLE CODE
FROM ZFI_CF_CATMAster
INTO V_CODE1
WHERE CODE = ZFI_CF_PLANING-CODE.
IF SY-SUBRC <> 0.
MESSAGE I001(YMSG) WITH 'Invalid code'.
ENDIF.
ENDIF.
ENDIF.
ENDMODULE. " SAVE_REC INPUT
*& Module DISPLAY OUTPUT
text
module DISPLAY output.
MOVE-CORRESPONDING IT_FINAL TO ZFI_CF_PLANING.
endmodule. " DISPLAY OUTPUT
*& Module COPY OUTPUT
text
module COPY output.
CLEAR IT_FINAL.
READ TABLE IT_FINAL INDEX 1.
MOVE-CORRESPONDING IT_FINAL TO ZFI_CF_PLANING.
IF V_MODE = 'PROC'.
ZFI_CF_PLANING-ACCNO = V_ACCNO1.
ZFI_CF_PLANING-PPERIOD = V_DBUPER.
ZFI_CF_PLANING-PYEAR = V_DGJAHR.
SELECT SINGLE DESCRIP2
FROM ZFI_CF_TABMAIN
INTO ZFI_CF_TABMAIN-DESCRIP2
WHERE ACCNO = ZFI_CF_PLANING-ACCNO.
CLEAR : V_MODE.
ENDIF.
IF V_MODE = 'COPY'.
ZFI_CF_PLANING-ACCNO = V_ACCNO1.
ZFI_CF_PLANING-PPERIOD = V_DBUPER.
ZFI_CF_PLANING-PYEAR = V_DGJAHR.
CLEAR : V_MODE.
ENDIF.
endmodule. " COPY OUTPUT
flow logic code in screen level
*PROCESS BEFORE OUTPUT.
PROCESS BEFORE OUTPUT.
MODULE STATUS_0100.
LOOP AT IT_FINAL WITH CONTROL MAIN CURSOR MAIN-TOP_LINE.
MODULE DISPLAY.
ENDLOOP.
MODULE COPY.
*PROCESS AFTER INPUT.
PROCESS AFTER INPUT.
MODULE QUIT AT EXIT-COMMAND.
FIELD ZFI_CF_planing-ACCNO MODULE VALIDATE_ACCNO.
FIELD ZFI_CF_PLANING-PYEAR MODULE VALIDATE_PYEAR.
FIELD ZFI_CF_PLANING-PPERIOD MODULE VALIDATE_PPERIOD.
MODULE USER_COMMAND_0100.
LOOP AT IT_FINAL.
MODULE SAVE_REC.
ENDLOOP.
MODULE CALCULATE.
*MODULE CHANGE_SCREEN2. -
DHCP table shows only 3 of 4 clients?
Wireless N Gigabit Router WRT310N - Although there are 4 DHCP pc's and 1 fixed-IP printer connected to the router, the DHCP Table only lists 3 IP's, 192.168.1.100, *.102 and *.109. The fourth shows its IP in a CMD window, with "ipconfig" as *.103. It connects to the internet and the network printer just fine.
Why doesn't the fourth show in the DHCP client table?
Thanx.Tried your suggestion at an administrator command prompt and they both appeared to run successfully. But no change in the DHCP Client table after refresh and revisit. The PC is fully networked with the same IP.
What should I look for in the output for "ipconfig /displaydns"? I see a Time To Live of 86400. ??
I'm a sr. software engineer and sit in bug fix meetings at least weekly. The network guys at work don't have an answer. I agree with a previous post that this looks very much like a firmware bug. So my interest is not just academic. This may be an isolated bug, totally benign, or it may be a sign that some other feature/function is not working correctly. Only Cisco knows. ??
Thanx all. -
DHCP table population on E4200
We've got an E4200 that seems to work pretty well (except with Apple AirPlay). (latest firmware installed.) However, whenever we have to reboot the router for any reason (i.e.-- changing certain settings), it takes a very, very long time to repopulate the DHCP table.
We have 27 wired and wireless devices on the network. They appear to get assigned IP addresses quickly (because the devices do work and access the Internet) but the devices do not show up in the DHCP table list. They slowly appear over a period of hours and hours.
The REFRESH button on the DHCP table updates the entries already in the list but does not add additional items to the list.
Is this normal? Is there anyway to speed up the process of populating the table? (Live Chat support was absolutely no help)The DHCP table works the same on both of our computers (desktops running Windows 7). All the devices in the network were powered on. It just takes a couple of hours for everything to show up in the DHCP table. Some devices appear instantly upon a reboot of the router (maybe 5 or 6 devices) but to see the full population takes about 2 hours.
Its not the end of the world, but it seems odd that the IP numbers ARE all assigned right away-- they just take a long time to show up in the table.
Maybe you are looking for
-
I can't backup my macbook pro 13', mac lion 10.8.4.
Hello, I have a problems with my macbook pro 13. I do the backup with time machine, but it do really slowly. And at 20%, the system error print the message " error ... The backup can't do... Restart the laptop!" I have done many time on the different
-
if you have a .mac account - OR - you are posting your iWeb site on your own server - let us know the url so we can have a look at REAL WORLD examples. good would also be if you discribe how "easy" it was to create the site, or how difficult, what yo
-
How do I get the Norton 360 Toolbar & Identity Safe onto Firefox 4?
I cannot get the Identity Safe feature of Norton 360 onto my Firefox 4 toolbar. I tried configuring Norton 360 as per the FIrefox 4 instructions to no avail. it worked on Firefox 3.
-
Having trouble deleting syned photos from my iPod Touch
When I first got my iPod touch, I made a folder of pictures I wanted on the iPod; mostly of my family and a few wallpapers for my touch screen. But now the folder is taking up extra space on my iPod and I want to remove it. The only trouble is, I del
-
XPRA_EXECUTION does not do nothing in SAPKB70011
Hello, I'm importing the SP11 of BASIS (SAPKB70011) and in the XPRA_EXECUTION appears "tp buffer prepared ok" running but in sm50 does not do nothing and it can be stay as that way for hours. When i looked the last line of the log it was: "import met