Count of all nulls in a Table
Hi all,
Is there a way to find out the count of all the null fields in a table?
One way is obvious:-
SQL> select * from test6152;
A B DD
1 one <null>
2 two <null>
3 tri <null>
3 dri <null>
1 <nu 01-JAN-08
ll>
1 ch 01-JAN-08
6 rows selected.
SQL> select a + b + c from
2 (
3 select sum(case when a is null then 1 else 0 end) a ,
4 sum(case when b is null then 1 else 0 end) b ,
5 sum(case when dd is null then 1 else 0 end) c
6 from
7 test6152
8 )
9 /
A+B+C
5
.Is there any other viable way to find the count of null fields in a table with say 80 fields.??
Thanks in advance.
You solution is already a good one.
I personally would prefer "decode" instead of "case" in the case. but that's only a matter of style.
DECODE(a,null,1,0)Another possibility is first to string all rows together and count the number of nulls in that row. Then add everything up.
E.g. (not tested!)
SELECT SUM(
LENGTH(
decode(a,null,'x','')
|| decode(b,null,'x','')
|| decode(c,null,'x','')
|| decode(d,null,'x','')
FROM test6152
Similar Messages
-
Count the all null values in the given table
Suppose a table has n number of rows and columns .
can any one tell the query to count the number of null values present in the table.
For example :
select * from tname:
A B
cc jhghf
hff -
- kjh
tys -
- gyrfg
jjgg -
jfgh -
- uytg
10 rows selected..
now to count the null vales in the table we can use ---> select count(1)-count(a)+count(2)-count(b) as ncount from tname;
o/p:
ncount
11
now my questions is we have n number of columns now pls tel tell me how to count the nulls present in table..?
Thanks in Advance.Object[][] o;
int tot = 0;
for(int x = 0 ; x < o.length ; x++)
tot += o[x].length;
}If it's not a jagged array, however, this would be easier:
int tot = o.length * o[0].length; -
Sqlldr - getting all nulls in target table
Database: 10gR2 on WinXP
I am trying to load about 4000 of 7.5 million lines into the database from a 390MB file (there are 1522 of these files in total).
Goal:
1. When the line starts with "ScanHeader" or "position = ", just insert the line into TEST1.
2. When the line starts with "packet #", break it up into columns and insert into TEST2.
In fact, I only want three values out of the line. For example, for the line:
"Packet # 2, intensity = 0.000000, mass/position = 50.250000"
I want "2", "0.000000", and "50.250000" to be inserted into a table (and only if the intensity (the second value) is greater than 25).
(Note: I was thinking I would just load them all and then delete the ones I don't want, but if there is a way to exclude them up front, I would love to see it).
The loading into TEST1 seems to be working, but my first several stabs at loading into TEST2 results in the correct number of rows with source_file and seq set properly, but NULL for all the other columns. I suspect this is probably an easy one, but the correct search terms are eluding me.
My rust-encrusted loader skills were somewhat limited in the first place, so any suggestions beyond fixing the main issue are appreciated.
Thanks!
-Tom
CONTROL FILE:
OPTIONS(DIRECT=TRUE, ROWS=100000)
UNRECOVERABLE
LOAD DATA
INFILE '081017102.txt'
BADFILE '081017102.bad'
TRUNCATE
INTO TABLE TEST1
WHEN (1:10) = 'ScanHeader'
(source_file constant '011017102.txt',
content position(1:200) char,
SEQ recnum)
INTO TABLE TEST1
WHEN (1:10) = 'position ='
(source_file constant '011017102.txt',
content position(1:200) char,
SEQ recnum)
INTO TABLE TEST2
WHEN (1:8) = 'Packet #'
fields terminated by ' '
trailing nullcols
(source_file constant '011017102.txt',
seq recnum,
fpacket,
fpoundsign,
packet_number,
fintensity,
fequals1,
fcontent,
fmplabel,
fequals2,
mp
SAMPLE DATA FROM ONE FILE (partial file):
RunHeaderInfo
dataset_id = 0, instrument_id = 0
first_scan = 1, last_scan = 318, start_time = 0.002282, end_time = 0.997597
low_mass = 50.000000, high_mass = 1000.000000, max_integ_intensity = 41286.089844, sample_volume = 0.000000
sample_amount = 0.000000, injected_volume = 0.000000, vial = 0, inlet = 0
err_flags = 0, sw_rev = 1
Operator =
Acq Date =
comment1 =
comment2 =
acqui_file =
inst_desc =
sample volume units =
sample amount units =
Injected volume units =
Packet Position = 38630
Spectrum Position = 14603130
ScanHeader # 1
position = 1, start_mass= 50.000000, end_mass = 1000.000000
start_time = 0.002282, end_time = 0.000000, packet_type = 0
num_readings = 11400, integ_intens = 15376.646484, data packet pos = 0
uScanCount = 0, PeakIntensity = 1098.594238, PeakMass = 75.333328
Scan Segment = 0, Scan Event = 0
Precursor Mass
Collision Energy
Isolation width
Polarity negative, Profile Data, Full Scan Type, MS Scan
SourceFragmentation Off, Type Ramp, Values = 0, Mass Ranges = 0
Turbo Scan Off, IonizationMode Electrospray, Corona Any
Detector Any, Value = 0.00, ScanTypeIndex = -1
DataPeaks
Packet # 0, intensity = 0.000000, mass/position = 50.083333
saturated = 0, fragmented = 0, merged = 0
Packet # 1, intensity = 0.000000, mass/position = 50.166667
saturated = 0, fragmented = 0, merged = 0
Packet # 2, intensity = 0.000000, mass/position = 50.250000
saturated = 0, fragmented = 0, merged = 0
(...11,900 more packets for each of 220 ScanHeaders...)
LOG FILE FROM LOADING A PARTIAL FILE:
SQL*Loader: Release 10.2.0.1.0 - Production on Tue Oct 21 11:24:11 2008
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Control File: pos.ctl
Data File: 081017102.txt
Bad File: 081017102.bad
Discard File: none specified
(Allow all discards)
Number to load: ALL
Number to skip: 0
Errors allowed: 50
Continuation: none specified
Path used: Direct
Silent options: FEEDBACK and DISCARDS
Load is UNRECOVERABLE; invalidation redo is produced.
Table TEST1, loaded when 1:10 = 0X5363616e486561646572(character 'ScanHeader')
Insert option in effect for this table: TRUNCATE
Column Name Position Len Term Encl Datatype
SOURCE_FILE CONSTANT
Value is '011017102.txt'
CONTENT 1:200 200 CHARACTER
SEQ RECNUM
Table TEST2, loaded when 1:8 = 0X5061636b65742023(character 'Packet #')
Insert option in effect for this table: TRUNCATE
TRAILING NULLCOLS option in effect
Column Name Position Len Term Encl Datatype
SOURCE_FILE CONSTANT
Value is '011017102.txt'
SEQ RECNUM
FPACKET NEXT * WHT CHARACTER
FPOUNDSIGN NEXT * WHT CHARACTER
PACKET_NUMBER NEXT * WHT CHARACTER
FINTENSITY NEXT * WHT CHARACTER
FEQUALS1 NEXT * WHT CHARACTER
FCONTENT NEXT * WHT CHARACTER
FMPLABEL NEXT * WHT CHARACTER
FEQUALS2 NEXT * WHT CHARACTER
MP NEXT * WHT CHARACTER
Table TEST1, loaded when 1:10 = 0X706f736974696f6e203d(character 'position =')
Insert option in effect for this table: TRUNCATE
Column Name Position Len Term Encl Datatype
SOURCE_FILE CONSTANT
Value is '011017102.txt'
CONTENT 1:200 200 CHARACTER
SEQ RECNUM
Table TEST1:
1 Row successfully loaded.
0 Rows not loaded due to data errors.
34234 Rows not loaded because all WHEN clauses were failed.
0 Rows not loaded because all fields were null.
Table TEST2:
11400 Rows successfully loaded.
0 Rows not loaded due to data errors.
22835 Rows not loaded because all WHEN clauses were failed.
0 Rows not loaded because all fields were null.
Table TEST1:
1 Row successfully loaded.
0 Rows not loaded due to data errors.
34234 Rows not loaded because all WHEN clauses were failed.
0 Rows not loaded because all fields were null.
Bind array size not used in direct path.
Column array rows : 5000
Stream buffer bytes: 256000
Read buffer bytes:20971520
Total logical records skipped: 0
Total logical records read: 34235
Total logical records rejected: 0
Total logical records discarded: 22833
Total stream buffers loaded by SQL*Loader main thread: 5
Total stream buffers loaded by SQL*Loader load thread: 0
Run began on Tue Oct 21 11:24:11 2008
Run ended on Tue Oct 21 11:24:12 2008
Elapsed time was: 00:00:01.09
CPU time was: 00:00:00.10I don't think that is the issue, but thanks for the suggestion.
I eliminated the directives to load data into TEST1 from the control file and then, surprise surprise, the load into TEST2 started working. I added the TEST1 directives back in after the TEST2 directive and all appears to be working now. I don't understand exactly why, but at this point I will accept the result.
I have changed the control file to what you see below. For the TEST2 load, any suggestions on how to skip the records where the intensity is less than 25?
REVISED CONTROL FILE:
OPTIONS(DIRECT=TRUE, ROWS=100000)
UNRECOVERABLE
LOAD DATA
INFILE '081017102-partial.txt'
BADFILE '081017102.bad'
TRUNCATE
INTO TABLE TEST2
WHEN (1:8) = 'Packet #'
fields terminated by ' '
trailing nullcols
(source_file constant '011017102',
seq recnum,
fpacket filler,
fpoundsign filler,
packet_number "replace(:packet_number, ',', '')",
fintensity filler,
fequals1 filler,
intensity "replace(:intensity, ',', '')",
fmplabel filler,
fequals2 filler,
mass_position
INTO TABLE TEST1
WHEN (1:10) = 'ScanHeader'
(source_file constant '011017102',
content position(1:200) char,
SEQ recnum)
INTO TABLE TEST1
WHEN (1:10) = 'position ='
(source_file constant '011017102',
content position(1:200) char,
SEQ recnum) -
Count(*) for all tables
Hi ,
I want the Query to get the table name and count(*) display in excel like this.Can i get count(*) from metadata table .Please let me know ??
ACCT 53
ACCT_CHEQUE 45
EMP 50
DEPT 90Karthick_Arp wrote:
A XML solution.
This one is not mine. This question comes up often in this forum. And once i saw this answer. And i thought its really cool so just saved it in my Google Note Book ;)You need to update your google note book. It doesn't take account of Index Organised Tables.
Based on answer from Laurent Schneider
http://laurentschneider.com/wordpress/2007/04/how-do-i-store-the-counts-of-all-tables.html
SQL> select
2 table_name,
3 to_number(
4 extractvalue(
5 xmltype(
6 dbms_xmlgen.getxml('select count(*) c from '||table_name))
7 ,'/ROWSET/ROW/C')) count
8 from user_tables
9 where iot_type != 'IOT_OVERFLOW';
TABLE_NAME COUNT
DEPT 4
EMP 14
BONUS 0
SALGRADE 5Edited by: BluShadow on Jul 8, 2009 12:00 PM -
Update table all null values to 0 single query
hi dear ;
How Can I do , update table all null values to 0 using single query or proceduredeclare @tableName nvarchar(100)
declare @querys varchar(max)
set @querys = ''
set @tableName = 'YOUR TABLE NAME HERE'
select @querys = @querys + 'update ' + @tableName + ' set ' +
QUOTENAME(t.[name]) + '=0 where ' + QUOTENAME(t.[name]) + ' is null;'
from (SELECT [name] FROM syscolumns
WHERE id = (SELECT id
FROM sysobjects
WHERE type = 'U'
AND [NAME] = @tableName))t
select @querys
execute sp_executesql @sqlQuery
Reference:
http://stackoverflow.com/questions/6130133/sql-server-update-all-null-field-as-0
-Vaibhav Chaudhari
this code is return update TABLE set [FIELD]=isnull([FIELD],''),update TABLE set [FIELD2]=isnull([FIELD2],'')
I want to use UPDATE TABLE SET FIELD1=ISNULL(FIELD1,0),FIELD2=ISNULL(FIELD2,0),FIELD3=ISNULL(FIELD3,0) So CUT another update and set statement . -
Get records count of all tables
Hi ,
I am trying to get the record count of all tables using dynamic query. I don't know how to put the value in placeholder. I tried the below code.
SET SERVEROUTPUT ON SIZE 1000000
DECLARE
CURSOR table_list
IS
select OBJECT_NAME from user_objects
where object_type in ('TABLE')
and object_name not like '%AUDIT_DDL%'
AND object_name not like 'MD_%'
AND object_name not like 'EXT_%'
AND object_name not like 'STG_%'
AND object_name not like 'SYS_%'
AND object_name not like 'TMP_%'
AND object_name not like 'TEMP_%'
order by 1;
v_count NUMBER :=0;
query_str VARCHAR2(1000);
BEGIN
FOR table_name IN table_list
LOOP
query_str :='SELECT COUNT(1) FROM ' || table_name.OBJECT_NAME;
dbms_output.put_line(query_str);
dbms_output.put_line('Table Name:' || table_name.OBJECT_NAME );
v_count:= execute immediate query_str;
dbms_output.put_line('Table Name:' || table_name.OBJECT_NAME || ', Count ' || v_count );
END LOOP;
END;
I know I am doing wrong in the bold lines. But not sure how to fix it. Please help. Thanks in advance.Hi,
Welcome to the forum!
What you posted is basically right, assuming you really want to do dynamic SQL t all.
The only problem with
961618 wrote:
query_str :='SELECT COUNT(1) FROM ' || table_name.OBJECT_NAME; would be if the object name included special characters (such as single-quotes) or lower-case letters. To avoid any possible problems, I would put the object name inside double-quotes:
... query_str := 'SELECT COUNT (*) FROM "' || table_name.OBJECT_NAME
|| '"';
v_count:= execute immediate query_str;
The correct syntax is
execute immediate query_str INTO v_count;V_count will be the number of rows in a single table. Keep another variable (say total_v_count) that keeps the total count so far.
Do you really need dynamic SQL?
SELECT SUM (num_rows) AS total_rows
FROM user_tables
WHERE table_name NOT_LIKE '%AUDIT_DDL%
AND ...
;gets the same information, accurate as of the last time statistics were gathered, and some of the numbers may be approximate. Depending on how you use the results, that may be good enough for you. If you actually have 10,000,123 rows, and the query says you have 10,000,000, does it really matter? -
Is there a way to match all columns in a table?
Oracle 11.1.0.7:
Is there any way to say match all the columns of Table A with Table B? For eg:
Table A
id
name
Table B
id
name
Is there a way to say match all the columns with similar column in other in a select instead of doing "where A.id = B.id and A.name = b.name"? I am trying to write a compare script to test that replication is indeed doing the right thing.user628400 wrote:
If 2 columns have null values does it match that too? I'll run some tests.It does
SQL> ed
Wrote file afiedt.buf
1 with a as (select 1 col1, null col2 from dual
2 union all
3 select 2 col1, null col2 from dual
4 union all
5 select null, null from dual),
6 b as (select 1, null from dual
7 union all
8 select null, null from dual)
9 select *
10 from a
11 minus
12 select *
13* from b
SQL> /
COL1 C
2
While I was doing the comparision I found that if column x in Table A has "null" and same column x in table B has "null" and if I do "where A.x = B.x" then it doesn't return the row. I am not sure why. Does "minus" work the same way?That's because NULL will never equal any value (including NULL) and NULL will never not equal any value (including NULL). That is
NULL = 1 is unknown (which maps to false)
NULL = NULL is unknown
NULL != 1 is unknown
NULL != NULL is unknown
If you want to compare columns that may have NULL values, you need to use IS NULL and IS NOT NULL or use the NVL function to map NULL values to a non-NULL but impossible value, i.e.
WHERE (a.x = b.x OR
(a.x is null and b.x is null))or
WHERE nvl(a.x,-17) = nvl(b.x,-17)assuming that -17 is not a valid value for either a.x or b.x
Justin -
Count number of rows in a table
Hi,
I have a requirement. I want to frame a SQL, which takes schema name as input and returns tables owned by that schema and number of rows inside a particular table.
A Sample output:
===========
Table No. of Rows
~~~~ ~~~~~~~~
A 123
B 126
C 234
.Can somebody help me in framing a query for the same.
Regards,hoek wrote:
But you could use this script:
http://laurentschneider.com/wordpress/2007/04/how-do-i-store-the-counts-of-all-tables.html
Laurent's solution most likely was published before IOT. Anyway, IOT ovwerflow tables must be excluded. Otherwise:
SQL> select table_name,
2 to_number(
3 extractvalue(
4 xmltype(
5 dbms_xmlgen.getxml('select count(*) c from '||owner || '.' || table_name)),'/ROWSET/ROW/C')) cou
6 from dba_tables
7 where owner = 'OE'
8 /
ERROR:
ORA-19202: Error occurred in XML processing
ORA-25191: cannot reference overflow table of an index-organized table
ORA-06512: at "SYS.DBMS_XMLGEN", line 176
ORA-06512: at line 1
no rows selected
SQL> select table_name,
2 to_number(
3 extractvalue(
4 xmltype(
5 dbms_xmlgen.getxml('select count(*) c from '||owner || '.' || table_name)),'/ROWSET/ROW/C')) count
6 from dba_tables
7 where owner = 'OE'
8 and nvl(iot_type,'X') != 'IOT_OVERFLOW'
9 /
TABLE_NAME COUNT
CUSTOMERS 319
WAREHOUSES 9
ORDER_ITEMS 665
ORDERS 105
INVENTORIES 1112
PRODUCT_INFORMATION 288
PRODUCT_DESCRIPTIONS 8640
PROMOTIONS 2
PRODUCT_REF_LIST_NESTEDTAB 288
SUBCATEGORY_REF_LIST_NESTEDTAB 21
10 rows selected.
SQL> SY. -
Query in SQL to display count of all records but where condition is present
Hi All,
I have situation where I need to display count of all records all particular period but in where condition type condition has to be present :
Please find the below sample data :
PERIOD_ID TYPE MV_COUNT IS_FLAG
20110401 AM 1 0
20110401 AM 1 0
20110401 MS 29 0
20110501 MS 1 0
20110601 MS 14 0
20110701 MS 2 0
20110401 MS 1 0
20110401 AM 2 0
20110401 AM 69 0
20110401 AM 2 0
finally I need for type = MS
i) total is_flag count for all the periods
ii) for period=20110501 what is the mv_count
I need to use the table single time (ie not self join outer joins )
I have tried to use partition by clause but it will filter out the data .
Cheers,
Sp842106 wrote:
finally I need for type = MS
i) total is_flag count for all the periods
ii) for period=20110501 what is the mv_count
I need to use the table single time (ie not self join outer joins )
I have tried to use partition by clause but it will filter out the data .
select sum(is_flag) is_flg_count,
sum
case when period = 20110501 then mv_count else 0 end
) mv_cnt_for_20110501
from your_table
where type = 'MS'; -
Count of entries in an Internal table
Hi all,
Can anyone give me a code as to how to get the count of entries in an internal table??
Regards
SukanyaHi,
with
data: count type i.
DESCRIBE TABLE it_table LINES count.
will get the number of entries in a table,
regards,
Stefan Huemer -
Distinct Count of Non-null Values
I have a table that has one column for providerID and then a providerID in each of several columns if the provider is under a particular type of contract.
I need a distict count of each provider under each type of contract for every county in the US.
distinct count is almost always one more than the actual distict count because most counties have at least one provider that does not have a particular contract and the distict count counts the null value as a distict value.
I know I can alter the fields to have a zero for nulls, ask for a minimum count and then subtract 1 from the distict count if the minimum is zero, but I hope there is an easier way to figure distict counts of non-null values.
any suggestions?
Thanks,
JenniferHello,
*I need a distict count of each provider under each type of contract for every county in the US*
To the above requiremetn,
I will suggest the following approach.
Use group expert formula for country, contract and provider.
Now you will have the hierarchy to which level you want to apply distinct count. You can do it as suggested by ken hamady.
Regards
Usama -
Migrating NULL values in tables from oracle to MS SQL
Hi,
I am migrating Oracle 11g database to MS SQL server 2014 using SSMA.
Currently, when I migrate data, all (null) values in oracle tables are migrated as NULL to SQL.
However, I want to migrate null values in oracle tables to blank space in SQL.
Is it possible?
Is there any setting in SSMA which supports this?
Thanks.Hi ManiC24m,
In SSMA, there is no setting we can modify to migrate null values in Oracle tables to blank space in SQL Server. As Prashanth’s post, after the migration, you can replace the null values with blank space via the following Transact-SQL statements in
SQL Server.
USE <DatabaseName>
Go
UPDATE <TableName> SET <ColumnName>=''
WHERE <ColumnName> IS NULL
Thanks,
Lydia Zhang -
Count of all ebeln for each SUBMI
hi all,
i want to Get count of all EBELN for each SUBMI.
Get EBELN & EBELP from EKPO table.
Get ANFNR from EKPO for the EBELN & pass it in EKKO-EBELN
Get SUBMI from table EKKO for ANFNR = EBELN
Pass the above SUBMI in table EKKO & get all EBELN
Get count of all EBELN for each SUBMI
isuppose there are 3 ebeln with 1 submi that is 555 and 2 ebeln with another submi as 556.
in report i want to display like this.
ebeln1 submi(555) count no.1
ebeln2 submi 555 count no 2.
ebeln 3 submi 555 count no 3
ebeln 4 submi 556 count no. 1
ebeln 5 submi 556 count no 2..
so on.............
please help me..
regards
steve.Hi sumit,
Thanks for the reply, can u please help in writing the code to loop through the VO...
I was trying to get the first row and then finding the count of supplier sites, but in each iteration of for loop(for each row) i am getting the same count value for each and every row...
Code :
int j=vo.getrowcount();//count of no. of rows
for (int i=0;i<j;i++)
row=(xxVORowImpl)rowsetiterator.getRowAtRangeIndex(1);
int a=am.getSupplierSitesVO.getRowCount();//this is the view object in the pick list
oapagecontext.writeDiagnostics(this,"value of a is :"+a,1);
this code is giving row count of last row of supplier.
How to get the count for each and every row of supplier sites ?
Thanks. -
Hi Experts,
Does any one have an idea as to
how to get the record count of all DSOs in one shot?
Regards
DipaliTran ST14 allows you to run a background program that captures data on the 30 largest ODS. Might be able to run it, or use the program it runs as a starting point for a Z version. It also produces other lists 30 largest cubes, E anf F fact tables, dimension tables, PSA, master data, etc.
This alignment of the sample below isn't quite right, but it gives you an idea of the output:
Logical Name (BW) Active Data Active Data Activation Queue Activation Queue Rollback Rollback Changelog Changelog Changelog Total Size Growth RSDBEXFL LASTUSED TXTLG ODSOTYPE
Size (KB) records Size records Size records Name Size (KB) records (KB) (KB)
ZPU_O52 223084800 270319290 128 72020 0 0 /BIC/B0000357000 1898496 3020700 224983424 0 X 20080903190013 Line Items in Funds Management
ZSL_O52 164580224 285739820 128 215490 0 0 /BIC/B0000558000 3041280 5548000 167621632 0 X 20080903135047 Special Ledger Details
ZGL_O_02 94384640 253558550 128 394820 128 0 /BIC/B0000595000 2469888 5227867 96854784 0 X 20080903180839 General Ledger: Line Item Detail
PU_O32 72226624 114269900 128 13880 128 0 /BIC/B0000325000 1768448 3172567 73995328 0 0 FI Line Items in Funds Management (IS-PS)
ZARS_O70 65613632 131033900 128 0 128 0 /BIC/B0000537000 2744320 5117567 68358208 0 X 20080828130735 Activity-based Reporting
PU_O33 49556224 107794700 128 44533 0 0 /BIC/B0000327000 1468416 2495200 51024768 0 0 CO Line Items in Funds Management (IS-PS)
ZCBP_CON 7841792 11669800 128 13550 128 0 /BIC/B0000958000 9650176 15398900 17492224 0 X 20071114174148 COPY OF ZBBP_CON
ZAP_O_02 15391808 27049480 128 42380 0 0 /BIC/B0000594000 569344 817460 15961280 0 X 20080903190031 Accounts Payable - Vendors: Line Item Detail
ZCBBP_PO 6334464 9345900 128 11493 128 0 /BIC/B0000957000 9124864 14334000 15459584 0 X 20080818174802 Copy of 0BBP_PO
PU_O31 12421696 21020500 128 13123 0 0 /BIC/B0000310000 607232 1183300 13029056 0 0 Commitments Line Items in Funds Management (IS-PS)
ZAP_OTW1 10814208 28065630 128 1091100 128 0 /BIC/B0000608000 957440 2711567 11771904 0 X 20080903110025 Accounts Payable: Treasury Warrant Info
ZSEM_O51 6937344 17585900 128 0 128 0 /BIC/B0000584000 4678784 12101200 11616384 0 X 0 Complement Data for Costing
BBP_PO 991232 0 128 0 128 0 /BIC/B0000167000 128 0 10116480 0 0 Purchase Order - Single Documents
ZCBP_INV 3613696 5889633 128 7167 128 0 /BIC/B0000959000 4551680 6404367 8165632 0 X 20071114161251 COPY OF 0BBP_INV
ZPU_O51 7032896 14555300 128 2093 128 0 /BIC/B0000352000 160768 392960 7193920 0 X 20080903141737 Budget in Funds Management
ZSEM_O52 3749952 17608900 128 0 128 0 /BIC/B0000585000 2978944 10656100 6729152 0 X 0 Complement Cost Data from HRV1018
ZSLGS_O1 2781184 5666200 128 18360 128 0 /BIC/B0000841000 3241984 6964467 6023424 0 X 20080903145240 FISL: SRM Global Spend Detail
BBP_DS1 5011456 5870533 128 18070 128 0 /BIC/B0000198000 548864 846330 5560576 0 0 Actual Value for Purchase Order -Single Documents
ZIC_O03 4332096 9217400 128 10477 128 0 /BIC/B0000587000 45056 91627 4377408 0 0 ODS Material Stocks / Movements
BBP_SC 1542400 1493100 128 19663 128 0 /BIC/B0000733000 119808 382750 2363904 0 0 Shopping Cart - Individual Documents
ZRR_O01 290816 781850 128 1263 0 0 /BIC/B0001007000 1815552 4045433 2106496 0 X 20080211170935 Revenue & Refunds DSO
BBP_DOC 797184 1359533 128 6978 128 0 /BIC/B0000732000 481280 51307 1278720 0 0 Document Flow - Single Documents
BBP_CON 1227776 0 128 0 128 0 /BIC/B0000194000 128 0 1228160 0 0 Goods/Services Confirmation - Single Documents
ZAR_O_02 840960 1288300 128 1427 128 0 /BIC/B0000593000 132096 199870 973312 0 X 20080711125812 Accounts Receivable - Customers:Line Item Detail
SRPO_D1 311296 375290 128 6176 0 0 /BIC/B0001036000 384000 500900 695424 0 0 Purchase Order History
ZSLFM_O1 542720 2404400 0 0 0 0 /BIC/B0000666000 128 0 542848 0 0 Expenditure Estimation - FM T
BBP_INV 461824 0 128 0 128 0 /BIC/B0000196000 128 0 462208 0 0 Invoice - Single Documents
ZSL_O3 458752 2430400 0 0 0 0 /BIC/B0000670000 128 0 458880 0 0 Expenditure Estimation - SL Data T
ZPM_O51 196928 755080 128 0 128 0 /BIC/B0000894000 159744 703770 356928 0 X 20080507175910 Plant Material Valuation History
ZGL_O3 235520 2422767 0 0 0 0 /BIC/B0001041000 128 0 235648 0 0 Expend Est - GL Svc Dt T
There are DB dictionary views that contain this info as well, some of which is copied ot SAP tables. If you have Oracle DB, look for a table DBSTATTORA. -
Need to display null values against table
Hi All,
I have one table in which I only need to display null values along with the rest of columns. for example
ename sal date
scott 2000 15/07/06
Michal
now my query should return---
ename sal date
michal
hare krishna
AlokMaybe it is something like this?:
michaels> select column_name || ' contains ' ||
dbms_xmlgen.getxmltype ('select sum(nvl2(' || column_name || ',0,1)) c from ' || table_name ).extract ('//text()').getnumberval() ||
' NULL values' null_columns
from cols
where table_name = 'EMP'
and dbms_xmlgen.getxmltype ('select sum(nvl2(' || column_name || ',0,1)) c from ' || table_name ).extract ('//text()').getnumberval() > 0
NULL_COLUMNS
MGR contains 1 NULL values
COMM contains 10 NULL values
Maybe you are looking for
-
ITunes Match and the magical disappearing explicit tags
So, after doing a spring (winter?) clean of my iTunes library today, there seems to be a bit of tension between iTunes Match and Explicit tags on tracks. I'm obsessive with my library and add lyrics via Get Lyrical, use a script to search my iTunes l
-
Module in Receiver JMS Adapter
I am using the following Modules in one of receiver JMS adapter. What is the function of each Bean that we are using here ?? Any links in this regard is appreciated 1-AF_Modules/RequestOnewayBean-Local Enterprise Bean-0 2-SAP XI JMS Adapter/ConvertMe
-
Microsoft Word vs. Pages..?
I'm in need of some feedback of Apple user experience in using Word vs. Pages? I was used to AppleWorks until it was discontinued and been trying to use Word as many people (PC/MAC users) use it as a standard word processing program. But I'm not real
-
First event fired to event structure
Hi all, Does anyone know what's the first event being fired to the event structure on VI startup? I set a breakpoint on the event structure and it breaks. However i wasn't able to capture whats the event. My intention was simple; i have a table wh
-
I can't Apply license at ACS 5.1
hi, maybe it looks stupied Q , but this my first time with ACS 5.1 server 1120 i configure the basic configuration using CLI setup command , then I connect https://10.2.2.7 but it ask me for the username and password , when i put the password i cann'