is it possible to do lun replication two table of different types
is it possible to do replication LUNs in two different types in the table such as hp and emc.
Hello
What requirements and use cases?
If you want to replicate from storage, you can seek a third-party replication device such as EMC RecoverPoint, EMC RecoverPoint after disaster and data - EMC Protection that supports the berries EMC or other 3rd-party.
If you want to replicate (ESXi) host, you can use vSphere replication that can replicate virtual machines from one host to another host (same or different site) that allows replication between the warehouses of data hosted on a storage array.
See links below
VMware vSphere replication: replication efficient Virtual Machine | United States
VMware KB: vSphere replication FAQ
Tags: VMware
Similar Questions
-
Two tables with different values of basic on an analysis filter
Hi guys,.
Let assume that I have an analysis with columns: group_id and sales.
On this basis I would like to create two tables: table1 where group_id = 1 and table2 where group_id = 2.
OBIEE is able to do?
Kind regards
SlaviHi Slavi,
You can do it in a single analysis, but you have to have the column with group_id twice.
Bring, group_id_1, group_id_2 (same column), sale
Now in table 1.
bring group_id_1, sales
Then in the selection steps for group_id_1-> select members-> Action choose keep only-> choose the value of the filter 1
This will filter the table 1 with group_id 1
In table2 group_id_2 porter, sales
Then do the same step for group_id_2 with the value 2.
You now have two reports with different filter in the same report.
If you want you can keep the same name column for the two columns group_id, I just kept group_id_1, group_id_2 for easy reference.
-
How to join two tables of different schemas of Oracle by using a subquery
I'm trying to join two different schemas of Oracle tables using a subquery. I can extract data from each of the tables without problem. However, when I combine select statements it by using a subquery I get Oracle error *'ORA-00936: lack of expression ' *. Given that each SELECT statement runs on its own without error I don't understand what's missing. I'm trying to get the result set is matching the LINE_ID of PDTABLE_12_1 in the schema with the table PDTABLE_201 MAT_DESCRIPTION DD_12809 in the RA_12809 schema.
The query is as follows:
SQL = "SELECT [DD_12809]. [PDTABLE_12_1]. LINE_ID OF [DD_12809]. [PDTABLE_12_1] JOIN "_".
+ "(SELECT [RA_12809]. [PDTABLE_201]. MAT_DESCRIPTION "_".
"FROM [RA_12809]. [PDTABLE_201]) AS FAB "_".
+ 'ON [DD_12809]. [PDTABLE_12_1]. PIPING_MATER_CLASS = FAB. PIPING_MATER_CLASS ".
The format of the request is copied from a manual of programming SQL.
I also tried running the query uses a right JOIN on the two tables, but got the same results. Any ideas would be useful. Thank you!
Published by: user11338343 on October 19, 2009 06:55The format for the join of two tables in Oracle feels like any other database:
SELECT a.col1, a.col2, ..., b.col1, b.col2, ... FROM schema1.table1 a, JOIN schema2.table2 b ON a.col = b.col and ... WHERE a.other_col = 'FRED' AND ....;
Do not place bracketed identifiers in Oracle. The account that connects to the database must have select privileges on the two tables.
-
Build table - you have connected two terminals of different types
Hello, I'm getting my vibration sensor data using my USB 9171 cdaq and the NI 9234. I want to display the signal of vibration, to record in a file, to do all kinds of possible statistics and the display of the statistics table on the front in update mode, attached is my VI based on some examples in the finder of the example, it has an error, can someone help me to make it work. Thank you very much in advance for your collaboration. Ihab
Change the table build to add entries instead of concatenate.
Lynn
-
How to compare two TABLES and different lines of list?
I have two structural equal paintings aaa and bbb
that (could) have different lines.
How can I compare the tables and display different lines?
PeterSomething like this->
SELECT aaa.*,'bbb' "Not present in" FROM aaa MINUS SELECT bbb.*,'bbb' "Not present in" FROM bbb UNION ALL ( SELECT bbb.*,'aaa' "Not present in" FROM bbb MINUS SELECT aaa.*,'aaa' "Not present in" FROM aaa )
Kind regards.
LOULOU.
-
Want to combine two tables with different numbers of lines 2d
I'm out data in a file in 2d tables, then adding more as it goes, and I run into issues when the size changes.
2D arrays must be of rectangular shape, so those empty space you have it will be filled with the default value of any data type you are using. See attachment for the concatenation of tables:
-
Replication of tables in different schemas
Hello
I have 2 schemas and would like to have tables (same structure), in 2 different patterns, to be in harmony.
For example:
sample1.table_one
sample2.table_one
sample1.table_one DESC is exactly the same as sample2.table_one
I want to both sample1.table_one and sample2.table_one to be in harmony, when changes are made to one of them.
Oracle 9i does provide a mechanism for this or is the obvious solution only with PL/SQL and triggers.Discover the waterways
-
Hi all!
I'm just curious, why these two tables are different and are they really different in terms of structure, even if they are from the same source? The left is the exit of tdms get properties and the other is a power of arry auto indexed.
Nilesh-
No doubt, you are referring to the visual aspect, since the data are the same. One of them uses a different type of indicator of the chain. You probably click right and choose 'create-> Indicator '. When you perform this LabVIEW will use the same style of indicator as what sub-VI/uses. In case you made directly from the PDM function, but the other was created between the autoindex loop tunnel for, in the second he used everything that was default in your preferences.
-
Is mapping dimension AWM - possible to load the data in two tables of entry?
Hi all
I have two tables ProductFamily (parent level) and products (child level).
I want to load a dimension of those tables where the parent-child relationships are maintained (I use AWM).
I created a map with these two entry tables, but the loaded data has no relationship.
So, how do I do that? Is it possible to load dimensions where different levels get data from multiple tables?
Is any type of Carpenter available in AWM?
Thank you
------------------------
A few Notes:
-I don't want to use OWB here that my data are clean
-In AWM, when I loaded the data in a single view that contains two tables of input data, it worked fine. But it's my worst case option.You must use Dimension option in snowflake in the mapping screen of size for the Product Dimension (as opposed to the default style mapping - star schema dimension).
This will modify map entries to include a separate parent for each level of hierarchy level / that is to say, for each level of hierarchy / (unless a higher level of the hierarchy), you must specify the parent level key in addition to the key current level, code/name/description/other attributes etc.
You can make the mapping or... use the icons at the top of the map screen.
mode drag/drop by dragging the relational column on dimension - level/hierarchy/attribute model
-or-
the table expression mapping mode that gives the same effect... by dragging a column on an attribute defined in the. . the format of
. HTH
ShankarNote1: Complete the mapping of a sudden... B & w switching mapping modes cause the mappings to reset.
NOTE2: assumes that your data are correct foreign key table parent level: ProductFamily exists in the child level table: products. -
is it possible for the owners of two for one table in oracle?
SQL > select table_name, master
dba_tables 2
3 where table_name = "DEPT";
TABLE_NAME OWNER
------------------------------ ------------------------------
MANO DEPT
SCOTT DEPT
SQL >
SQL >
SQL > show user;
The USER is "MANO".Hello
This isn't two owners for 2 tables but twotables and two owners.
Log in as a Mano
make oneinsert into dept values (blahh..blahh..); commit;
Now the connection as scott
select * from dept;
You will see the difference.
What you should understand, is there are physically two tables belonged to two different users with the same name.
Hope he get out of your confusion.See you soon!
Bobin -
sqlloader to load two tables of the single data file in a single operation
Oracle 11.2.0.3 SE - One
Oracle Linux 5.6
I don't know if I need a second set of eyes or if I am missing something.
Problem: Given a file of text csv with header and detail records (identified by the first field in the file) use sql loader to load the header and detail of the tables in a single operation.
The header record is to take, but the detail records are rejected by omitting the WHEN clause.
More comments after reading through the exhibits:
In view of these two tables:
SQL > desc EDSTEST_HEADER
Name Null? Type
----------------------------------------- -------- ----------------------------
EDSTEST_HEADER_ID NOT NULL NUMBER
REC_TYPE VARCHAR2 (10)
SOLD_TO_ACCOUNT VARCHAR2 (50)
SCAC_RECEIVER_ID VARCHAR2 (50)
FORMAT_TYPE VARCHAR2 (10)
CLIENT_NAME VARCHAR2 (100)
CUSTOMER_PICKUP_ADDRESS VARCHAR2 (100)
CUSTOMER_PICKUP_CITY VARCHAR2 (50)
CUSTOMER_PICKUP_STATE VARCHAR2 (10)
CUSTOMER_PICKUP_ZIP VARCHAR2 (50)
INSERT_USER VARCHAR2 (50)
DATE OF INSERT_USER_DATE
INSERT_STATUS_CODE VARCHAR2 (10)
SQL > desc EDSTEST_DETAIL
Name Null? Type
----------------------------------------- -------- ----------------------------
EDSTEST_DETAIL_ID NOT NULL NUMBER
NUMBER OF EDSTEST_HEADER_ID
REC_TYPE VARCHAR2 (10)
SHIP_TO_NAME VARCHAR2 (100)
SHIP_TO_ADDRESS VARCHAR2 (100)
SHIP_TO_CITY VARCHAR2 (50)
SHIP_TO_STATE VARCHAR2 (10)
SHIP_TO_ZIP VARCHAR2 (50)
STATUS_OR_APPT_REASON_CD VARCHAR2 (10)
EVENT_DESCRIPTION VARCHAR2 (50)
SHIPMENT_STATUS_CD VARCHAR2 (10)
SHIPMENT_EVENT_DATE VARCHAR2 (10)
SHIPMENT_EVENT_TIME VARCHAR2 (10)
EVENT_TIME_ZONE VARCHAR2 (30)
EVENT_CITY VARCHAR2 (100)
EVENT_STATE VARCHAR2 (50)
EVENT_ZIP VARCHAR2 (50)
CUSTOMER_CONFIRM VARCHAR2 (100)
DELIVERY_CONFIRM VARCHAR2 (100)
TRACKING_NUMBER VARCHAR2 (50)
MAIL_REC_WEIGHT VARCHAR2 (20)
MAIL_REC_WEIGHT_CD VARCHAR2 (10)
MAIL_RED_QTY VARCHAR2 (10)
INSERT_USER VARCHAR2 (50)
DATE OF INSERT_USER_DATE
INSERT_STATUS_CODE VARCHAR2 (10)
In light of this data file:
Oracle: mydb$ cat eds_edstest.dat
HDR, 0005114090, MYORG, CSV, MY NAME OF THE COMPANY, 123 ELM ST, STUCKYVILLE, OH, 12345
DTL, TOADSUCK, NC, 27999, NS, ARRIVED at the UNIT, X 4, 20140726, 063100, AND, TOADSUCK, NC,.3861, 27999, 12345, 23456 lbs, 1
DTL, TOADSUCK, NC, 27999, lbs, 1 NS, SORTING COMPLETE, X 6, 20140726, 080000, AND TOADSUCK, NC,.3861, 27999, 12345, 23456
DTL, TOADSUCK, NC, 27999, NS, PRONOUNCED, D1, 20140726, 121800, TOADSUCK, NC, 27999, 12345, 23456,.3861, lbs and 1
Given this control sqlloader file:
Oracle: mydb$ cat eds_edstest_combined.ctl
Load
INFILE ' / xfers/oracle/myapp/data/eds_edstest.dat'
BADFILE ' / xfers/oracle/myapp/data/eds_edstest.bad'
DISCARDFILE ' / xfers/oracle/myapp/data/eds_edstest.dsc'
ADD
IN THE TABLE estevens.edstest_header
WHERE (rec_type = 'HDR')
FIELDS TERMINATED BY ', '.
SURROUNDED OF POSSIBLY "" "
TRAILING NULLCOLS
(rec_type CHAR,
sold_to_account TANK,
scac_receiver_id TANK,
format_type TANK,
client_name TANK,
customer_pickup_address TANK,
customer_pickup_city TANK,
customer_pickup_state TANK,
customer_pickup_zip TANK,
INSERT_USER "1"
INSERT_USER_DATE sysdate,
INSERT_STATUS_CODE CONSTANT 'I')
IN THE TABLE estevens.edstest_detail
WHERE (rec_type = 'PIF')
FIELDS TERMINATED BY ', '.
SURROUNDED OF POSSIBLY "" "
TRAILING NULLCOLS
(rec_type CHAR,
ship_to_name TANK,
ship_to_address TANK,
ship_to_city TANK,
ship_to_state TANK,
ship_to_zip TANK,
status_or_appt_reason_cd TANK,
event_description TANK,
shipment_status_cd TANK,
shipment_event_date TANK,
shipment_event_time TANK,
event_time_zone TANK,
event_city TANK,
Event_State TANK,
event_zip TANK,
customer_confirm TANK,
delivery_confirm TANK,
tracking_number TANK,
mail_rec_weight TANK,
mail_rec_weight_cd TANK,
mail_red_qty TANK,
INSERT_USER "1"
INSERT_USER_DATE sysdate,
INSERT_STATUS_CODE CONSTANT 'I')
-END CONTROL FILE
And the time of execution of transactions:
SQL * Loader: release 11.2.0.3.0 - Production the kill Jul 29 07:50:04 2014
Copyright (c) 1982, 2011, Oracle and/or its affiliates. All rights reserved.
Control file: /xfers/oracle/myapp/control/eds_edstest_combined.ctl
Data file: /xfers/oracle/myapp/data/eds_edstest.dat
Bad leadership: /xfers/oracle/myapp/data/eds_edstest.bad
Delete the file: /xfers/oracle/myapp/data/eds_edstest.dsc
(Allow all releases)
Number of loading: ALL
Number of jump: 0
Authorized errors: 50
Link table: 10000 lines, maximum of 256000 bytes
Continuation of the debate: none is specified
Path used: classics
Silent options: your COMMENTS
Table ESTEVENS. EDSTEST_HEADER, loaded when REC_TYPE = 0 X 484452 (character "HDR") add the option in effect for this table: APPEND TRAILING NULLCOLS option in effect
Column Position Len term Encl. Datatype name
------------------------------ ---------- ----- ---- ---- ---------------------
FIRST REC_TYPE *, O ("") CHARACTER
SOLD_TO_ACCOUNT NEXT *, O ("") CHARACTER
SCAC_RECEIVER_ID NEXT *, O ("") CHARACTER
FORMAT_TYPE NEXT *, O ("") CHARACTER
CLIENT_NAME NEXT *, O ("") CHARACTER
CUSTOMER_PICKUP_ADDRESS NEXT *, O ("") CHARACTER
CUSTOMER_PICKUP_CITY NEXT *, O ("") CHARACTER
CUSTOMER_PICKUP_STATE NEXT *, O ("") CHARACTER
CUSTOMER_PICKUP_ZIP NEXT *, O ("") CHARACTER
INSERT_USER NEXT *, O ("") CHARACTER
The SQL string for the column: "1."
INSERT_USER_DATE SYSDATE
CONSTANT INSERT_STATUS_CODE
The value is 'I '.
Table ESTEVENS. EDSTEST_DETAIL, loaded when REC_TYPE = 0X44544c ('PIF' character) in effect for this table insert option: APPEND TRAILING NULLCOLS option in effect
Column Position Len term Encl. Datatype name
------------------------------ ---------- ----- ---- ---- ---------------------
REC_TYPE NEXT *, O ("") CHARACTER
SHIP_TO_NAME NEXT *, O ("") CHARACTER
SHIP_TO_ADDRESS NEXT *, O ("") CHARACTER
SHIP_TO_CITY NEXT *, O ("") CHARACTER
SHIP_TO_STATE NEXT *, O ("") CHARACTER
SHIP_TO_ZIP NEXT *, O ("") CHARACTER
STATUS_OR_APPT_REASON_CD NEXT *, O ("") CHARACTER
EVENT_DESCRIPTION NEXT *, O ("") CHARACTER
SHIPMENT_STATUS_CD NEXT *, O ("") CHARACTER
SHIPMENT_EVENT_DATE NEXT *, O ("") CHARACTER
SHIPMENT_EVENT_TIME NEXT *, O ("") CHARACTER
EVENT_TIME_ZONE NEXT *, O ("") CHARACTER
EVENT_CITY NEXT *, O ("") CHARACTER
EVENT_STATE NEXT *, O ("") CHARACTER
EVENT_ZIP NEXT *, O ("") CHARACTER
CUSTOMER_CONFIRM NEXT *, O ("") CHARACTER
DELIVERY_CONFIRM NEXT *, O ("") CHARACTER
TRACKING_NUMBER NEXT *, O ("") CHARACTER
MAIL_REC_WEIGHT NEXT *, O ("") CHARACTER
MAIL_REC_WEIGHT_CD NEXT *, O ("") CHARACTER
MAIL_RED_QTY NEXT *, O ("") CHARACTER
INSERT_USER NEXT *, O ("") CHARACTER
The SQL string for the column: "1."
INSERT_USER_DATE SYSDATE
CONSTANT INSERT_STATUS_CODE
The value is 'I '.
value used for the parameter LINES increased from 10000 to 30 sheet 2: discarded - failed all WHEN clauses.
Sheet 3: Discarded - failed all WHEN clauses.
Folder 4: Discarded - failed all WHEN clauses.
Table ESTEVENS. EDSTEST_HEADER:
1 row loaded successfully.
0 rows not loaded due to data errors.
3 rows not loading because all WHEN clauses were failed.
0 rows not populated because all fields are null.
Table ESTEVENS. EDSTEST_DETAIL:
0 rows successfully loaded.
0 rows not loaded due to data errors.
4 rows not loading because all WHEN clauses were failed.
0 rows not populated because all fields are null.
The space allocated to bind table: 247800 byte (30 lines)
Bytes of read buffer: 1048576
Total logical records ignored: 0
Total logical records read: 4
Total rejected logical records: 0
Logical records discarded total: 3
Run started the kill Jul 29 07:50:04 2014
Run finished on Tue Jul 29 07:50:04 2014
Time was: 00:00:00.07
Time processor was: 00:00:00.01
It works on linux, and the file data calculated from a Windows system to the time we get to it, but it's in the * nix format - with a simple x '0A' as the line terminator.
If, in the control file, I comment on the block of INSERTION for the header table, retail inserts very well.
If, in the control file, (return to the initial charge, two tables) I change the line
INFILE ' / xfers/oracle/myapp/data/eds_edstest.dat'
To read
INFILE ' / xfers/oracle/myapp/data/eds_edstest.dat' "str" | "» \n' »
The saved result becomes
Table ESTEVENS. EDSTEST_HEADER:
1 row loaded successfully.
0 rows not loaded due to data errors.
0 rows not loading because all WHEN clauses were failed.
0 rows not populated because all fields are null.
Table ESTEVENS. EDSTEST_DETAIL:
0 rows successfully loaded.
0 rows not loaded due to data errors.
1 row not loaded because all WHEN clauses were failed.
0 rows not populated because all fields are null.
I try to help the developer on this, and it resists change to use external tables. Even if I can overcome that, I now have a puzzle I want to solve, just to add to my knowledge. Plus, I have some concerns at this stage that whatever it is that miss me here could also come into play if I convert external tables.
Ed,
Are you sure that put you the post in the right place? It should be located in the first definition of the following field each time after the first when clause clause. Put after the first when the clause is optional. When I use the following with what you have provided, it loads 1 record in the table header and 3 records in the Details table. Did you actually do or tell your developer to do and wish that he understood and put it in the right place?
Load
INFILE 'eds_edstest.dat '.
BADFILE "eds_edstest.bad."
DISCARDFILE 'eds_edstest.dsc '.
ADD
IN THE TABLE edstest_header
WHERE (rec_type = 'HDR')
FIELDS TERMINATED BY ', '.
SURROUNDED OF POSSIBLY "" "
TRAILING NULLCOLS
(rec_type CHAR,
sold_to_account TANK,
scac_receiver_id TANK,
format_type TANK,
client_name TANK,
customer_pickup_address TANK,
customer_pickup_city TANK,
customer_pickup_state TANK,
customer_pickup_zip TANK,
INSERT_USER "1"
INSERT_USER_DATE sysdate,
INSERT_STATUS_CODE CONSTANT 'I')
IN THE TABLE edstest_detail
WHERE (rec_type = 'PIF')
FIELDS TERMINATED BY ', '.
SURROUNDED OF POSSIBLY "" "
TRAILING NULLCOLS
(rec_type POSITION (1) TANK,
ship_to_name TANK,
ship_to_address TANK,
ship_to_city TANK,
ship_to_state TANK,
ship_to_zip TANK,
status_or_appt_reason_cd TANK,
event_description TANK,
shipment_status_cd TANK,
shipment_event_date TANK,
shipment_event_time TANK,
event_time_zone TANK,
event_city TANK,
Event_State TANK,
event_zip TANK,
customer_confirm TANK,
delivery_confirm TANK,
tracking_number TANK,
mail_rec_weight TANK,
mail_rec_weight_cd TANK,
mail_red_qty TANK,
INSERT_USER "1"
INSERT_USER_DATE sysdate,
INSERT_STATUS_CODE CONSTANT 'I')
-
Oracle how to multiply two columns of different tables and results
Oracle how to multiply two columns of different tables and get the result in the third column?
I want to multiply all the lines of the quantinty column in the table of quantity with the relevant lines of the table of prices price column and get the result of multiplying in the third column. What should I use procedure trigerr? OR IS IT POSSIBLE HOW TO DO IT PLEASE HELP :D
Edited by: 994229 2013-03-15 12:44/* Formatted on 3/15/2013 3:51:08 PM (QP5 v5.185.11230.41888) */ CREATE TABLE mytable1 AS (SELECT 1 id, 5 VALUE FROM DUAL UNION ALL SELECT 2, 7 FROM DUAL UNION ALL SELECT 3, 8 FROM DUAL); CREATE TABLE mytable2 AS (SELECT 1 id, 4 VALUE FROM DUAL UNION ALL SELECT 2, 12 FROM DUAL UNION ALL SELECT 10, 12 FROM DUAL); SELECT id, mytable1.VALUE, mytable2.VALUE, mytable1.VALUE * mytable2.VALUE product FROM mytable1 FULL OUTER JOIN mytable2 USING (id) ORDER BY id;
ID VALUE VALUE_1 PRODUCT 1 5 4 20 2 7 12 84 3 8 10 12
-
export the schema, but for two tables, export only 20 rows
11.2.0.2/RHEL 5.4
Using expdp, I want to export an entire schema. But for the 2 large tables (say the EMP and DEPT tables) in this diagram, I want to export only 20 records (at random) for them. Is it possible for expdp and impdp?
If this is not possible then, is there any option to have no any line for these 2 tables?Christian Christmas Pal Singh says:
possible, but you must create two files dmp means export of run 2 times.
1. for complete schema to exclude these 2 tables by the exclusion clause.
2. use the query clause to filter the data in the second export for these 2 tables.Really? is not something that similar work? instead of rownum, if you want truly random, then use example of clause, but it should be based on the amount of sample would make 20 lines for you, then a bit of work there.
schemas=my_schema QUERY=my_schema.table1:"where rownum < 21" QUERY=my_schema.table3:"where rownum < 21"
Published by: rjamya on Sep 19, 2012 08:32
-
Hello, I have a problem writing to a specific SELECT statement and I hope you can help me.
I have two tables:
Customer:
-Integer ID (PK)
-Name_SecondName varchar (20)
-Char sex
-Full scale
Investments:
-Integer ID (PK)
-Whole amount
-Interest Numeric (3.2)
-Client_ID (FK)
My job is to display a number of men and a few women who have at least a $ 1000 investment. I'll jump to add data to the table, my point is simply to find a correct interpretation of the SQL query. Right now I have this:
SELECT COUNT (DISTINCT Client_ID), COUNT (DISTINCT Client_ID)
SOME customers JOIN investments
WE Clients.ID = Investments.Client_ID
WHERE amount > 1000;
Of course, it displays twice the number of clients thanks to an investment of more than $ 1000. But how do I specify that the first indictment counts men (sex = am') and second - women (sex = 'F')? Can someone help me?
Published by: 934019 2012-05-13 12:10Hello
Here's a way to do
SELECT COUNT (DISTINCT CASE WHEN c.gender = 'M' THEN c.client_id END) AS men , COUNT (DISTINCT CASE WHEN c.gender = 'F' THEN c.client_id END) AS women FROM clients c JOIN investments i ON c.client_id = i.client_id WHERE i.amount >= 1000 ;
This query will work in Oracle 8.1 or more.
Since you have Oracle 11, you can also use the SELECT... Function pivot, but in this case, it's more complicated. That's because what to CHOOSE... PIVOT includes automatically by each column that is not involved in the pivot. (In this case, this means that all except sex and client_id columns.) Often, you do sort of a subquery to get the dynamic no cross data, so it is easy to include only the relevant columns. In this case, however, you need not any kind of subquery, so you should add a fair to exclude the additional columns if you want to use SELECT... PIVOT.As you say in your original post, this account of customers who have any single investment of 1000 or more. In your last post, you posted a query that looks for investments of more than 15,000. You can change the WHERE clause to say
WHERE i.amount > 15000
but which would produce 0 men and 0 women, given that all of the amounts in the sample data are 10000.
934019 wrote:
Is it possible to display the entire word 'Genre' and not only "G"?Sure.
SQL * automatically sizes string columns to their maximum size. Since between the sexes are defined as CHAR (1), its maximum size is 1 character, then SQL * Plus allocates only 1 space for her, truncate the heading after 1 character. You can explicitly set the width on anything it is large enough to show the entire title, like this:
COLUMN gender FORMAT A6
Include this command before you run the query. Then, SQL * Plus uses 6 places to display the sex, so there will be place for all 6 characters in the heading.
-
Two sequences with different parameters?
In the first Pro CS6, is it possible to use two sequences with different parameters?
Yes, no problem.
You can make as many sequences with different settings as you want.
Maybe you are looking for
-
PIN tabs disappear whenever I close my homepage!
-
Satellite A40 - need new AC/DC adapter
Hello I want to know the features of the Toshiba laptop AC/DC power adapter, I loss my original adapter and I want to buy another compatible adapter but I don't know the particular feature of the Satellite A40 power adapter. help me, and forgive me m
-
By the way a cluster with table of a dll
Hello I will try to call the GetVersionEX kernel32.dll function. (try to determien OS version) One of the parameters is OSVERSIONINFOEX with the following definition: typedef struct _OSVERSIONINFOEX {}DWORD dwOSVersionInfoSize;DWORD dwMajorVersion;DW
-
I do not know how to solve the problem of error I did part of the 11001 error 0x800CCC0D socket error #.
-
Script for counting both Yes and no in a column and returning the number of Yes on the Total
(Acrobat Pro)I have 5 fields (DRDropdown1-5), who have 3 options (Y, N, NA). I onlywant to count the number of Y and N, then return the number of Y on thetotal of Y + NAny help is appreciated. I tell myself that if I see enough code, I'll getIt is up