Picking Month from Date in ABAP query
Dear All,
I want to pick month from date in a abap query but it is giving error "BDTER" is not a valid comparison operator. comparison operator.
Where i am wrong my query is below.
SELECT SUM( BDMNG ) AS BDMNGT FROM RESB INTO CORRESPONDING FIELDS OF IT_MRP
WHERE MONTH( BDTER ) = '12'.
With Regards
Ashwani K Mathur
Dear Deepankar,
Thanks for reply.
Date fomat is yy/mm/dd (like 20071231) after your suggestion i have modified query.
SELECT SUM( BDMNG ) AS BDMNGT FROM RESB INTO CORRESPONDING FIELDS OF IT_MRP
WHERE BDTER+4(2) = 12.
but while compiling it is giving error Field "BDTER+4(2)" unknown.
Please suggest.
Ashwani K Maathur
Similar Messages
-
Unable to access the data from Data Management Gateway: Query timeout expired
Hi,
Since 2-3 days the data refresh is failing on our PowerBI site. I checked below:
1. The gateway is in running status.
2. Data source is also in ready status and test connection worked fine too.
3. Below is the error in System Health -
Failed to refresh the data source. An internal service error has occurred. Retry the operation at a later time. If the problem persists, contact Microsoft support for further assistance.
Error code: 4025
4. Below is the error in Event Viewer.
Unable to access the data from Data Management Gateway: Query timeout expired. Please check 1) whether the data source is available 2) whether the gateway on-premises service is running using Windows Event Logs.
5. This is the correlational id for latest refresh failure
is
f9030dd8-af4c-4225-8674-50ce85a770d0
6.
Refresh History error is –
Errors in the high-level relational engine. The following exception occurred while the managed IDataReader interface was being used: The operation has timed out. Errors in the high-level relational engine. The following exception occurred while the
managed IDataReader interface was being used: Query timeout expired.
Any idea what could have went wrong suddenly, everything was working fine from last 1 month.
Thanks,
RichaNever mind, figured out there was a lock on SQL table which caused all the problems. Once I released the lock it PowerPivot refresh started working fine.
Thanks. -
Restrict last date of month from date picker
Hi All,
I have a requirement to restrict the date picker.
I want to allow the user to select only the last date of the month from the following four months march, June, September and December.
I have googled about this i couldn't get related that except that restrict invalid days/months.
Please suggest to find solution for this.
My Jdev version is 11.1.2.0.0
Thanks in advance,
SANHi,
Have a backing bean to construct a list of days to be disabled and set that to disabledDays property of the picker component.
Ex : Re: Bug on the property "disabledDays" of the component af|inputDate ?
-Arun -
Extract the Month from the day with Query designer ...
Hi everybody,
Is there exist a method in Query designer to extract the CalMonth (Date Month) from the CalDay ?
Thanks!
Rodolphe.take reference from this step by step doc:
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/25d98cf6-0d01-0010-0e9b-edcd4597335a -
Using the EXTRACT function to get year and month from date
Hello~
I am trying to extract the month and year using the query below but am getting the error:
Query cannot be parsed within the Builder
select distinct city AS "CITY",count(MOTOR_ASSIST2.CITY) as "COUNT"
from "MOTOR_ASSIST2" "MOTOR_ASSIST2"
where
(:P53_FISCAL_YR IS NULL OR :P53_FISCAL_YR = MOTOR_ASSIST2.FY)
*OR (:P53_MONTH IS NULL OR EXTRACT(MONTH FROM :P53_MONTH) = MOTOR_ASSIST2.DATETIME)
OR (:P53_YEAR IS NULL OR EXTRACT(YEAR FROM :P53_YEAR) = MOTOR_ASSIST2.DATETIME))*
GROUP BY MOTOR_ASSIST2.CITY
ORDER BY CITY
Can anyone help me figure out what im doing wrong?Thanks
Deanna1. Whats the value of year you are passing here ??
2. Whats the value of months you are passing here??
Select City As "CITY", Count(Motor_Assist2.City) As "COUNT"
From "MOTOR_ASSIST2" "MOTOR_ASSIST2"
Where ((:P53_Fiscal_Yr Is Null Or :P53_Fiscal_Yr = Motor_Assist2.Fy) Or
(:P53_Month Is Not Null Or :P53_Month = Motor_Assist2.Month) And
(:P53_Year Is Not Null Or :P53_Year = Motor_Assist2.Year) And
Datetime >= To_Date(:P53_Year||:P53_Month, 'YYYYMON') And
Datetime > Add_Months(To_Date(:P53_Year||:P53_Month, 'YYYYMON'), 1)
Group By Motor_Assist2.City
Order By City
SQL> Select Sysdate From dual Where Sysdate = To_Date('2008'||'SEP', 'YYYYMON');
SYSDATE
Select Sysdate From dual Where Sysdate = To_Date('2008'||'SEP', 'YYYYMON');
SYSDATE
SQL> Select To_Date('2008'||'SEP', 'YYYYMON') From dual;
TO_DATE('2008'||'SEP','YYYYMON
9/1/2008
will give you sept 1st or 1st day of the month,
hows the data in your datetime column or variable ???
SQL> Select Sysdate From dual Where trunc(add_months(last_day(Sysdate),-1) +1) = To_Date('2008'||'SEP', 'YYYYMON');
SYSDATE
9/12/2008 3
SQL>
there both side of '=' yield first day of sept ...
SQL> -
I want to get the month from a date. I know how I can get it from today's date, but let's say I have a pre-defined date like:
String myDate = "11/15/89";How can I get "November" from that?
Edited by: TheTitans on Feb 12, 2009 4:56 PMSimpleDateFormat[http://java.sun.com/docs/books/tutorial/i18n/format/simpleDateFormat.html]
~ -
CAML Query to get Items based on Year and Month From Date Column
Hi All,
* As we knew that there are default columns in calendar like Stattdate,Title,Location..etc.
* I required the CAML Query to get the list items of calender of particular Month and Year,So that I can get number of items or evetns are in Calendar
Can any one help me how can I do this using caml query
SamarHi Stuart,
Thanks for your response,I had chosen 2nd option of our above mention suggestion.But when I try to fetech the data from a calendar it is showing below error .I
had checked the below code with oter lists by changing Type to text and it worked fine.Can you please help me how can I fetech for the calulated columns
Error
"One or more field
types are not installed properly. Go to the list settings page to delete these
fields. "
Code:
string year="2014";
string month="February";
SPSite mysite = SPContext.Current.Site;
SPWeb myweb = mysite.OpenWeb();
try
SPList mylist = myweb.Lists["Calendar"];
SPQuery myquery = new SPQuery();
myquery.Query = @"<Where>
<And>
<Eq>
<FieldRef Name='Year'/>
<Value Type='Calculated'>"
+ year + @"</Value>
</Eq>
<Eq>
<FieldRef Name='Month'
/>
<Value Type='Calculated'>"
+ month + @"</Value>
</Eq>
</And>
</Where>";
SPListItemCollection totaltiems = mylist.GetItems(myquery);
Label1.Text= "Total Number of Items is "+" "+totaltiems.Count.ToString();
catch (Exception ee)
Label1.Text = ee.Message;
finally
myweb.Dispose();
Calculated Columns
Samar -
Extracting 0CALYEAR from Calendar Year/Month From-To in a query
Hi all,
I have a high granularity query which is used in a large number of workbooks. This query has a key Calendar Year/Month input everytime it's launched. The thing is I'd like to support it with an aggregate containing the data from the year 2010. As there is no way to specify a value range for 0CALMONTH in the aggregate, the only way to specify the time range is through setting 0CALYEAR to a fixed vaule 2010. But then the aggregate is not picked up when the query is launched with the key 0CALMONTH = from 01.2010 to 01.2010. What should I do to force the aggregate to be used?
I know that one way is to add the 0CALYEAR as a key year to the query but I wouldn't want to force everyone to fill it everytime they run the report.
Is there any way to make the 0CALYEAR characteristic in the query definition get the year value automatically after the user has input the Calendar Yer/Month and to remain relatively transparent at the same time? I suppose I could make it using some user exit or so but can it be made more easily?
I'm using BI7.0 with BEx 3.x (for a couple of reasons)
Many thanks for any suggestions
KrzysztofA user exit variable, hidden and derived from the input for 0CALMONTH, is your only option to fill the 0CALYEAR and use the aggregate. However, you should be able to do this automatically in your data model.
My data models usually consist of a mutliprovider that contains multiple infocubes each segregated by year, (with a Constant value for year assigned), and each one cube compressed by 0CALMONTH. When you query by 0CALMONTH, this model causes the query to look at only the specifc year infoprovider, and the specific partition for 0CALMONTH. I believe this is the behavior you are trying to achieve with the aggregate. It is automatic with my model.
Bryan -
hi,
I have a query in Informix which get the month part of a date. Please help me in converting the same to oracle.
Informix query
select month(col1 - today) from tab1;
col1 is a date field, today will yield the current date and month function will get the month of the date.
In oracle, when we subtract two dates we will get a number value, how to convert that back to date and extract the month part.
Help me?????
Regards,
Gopuselect months_between(sysdate, col1)
from tab1;
This will return a decimal value representing the months and part month between the two periods. The later date should be specified first, or the result will be a negative value. -
Extract a month from date hierarchy
I have ssrs report based on cube. I have a date hierarchy where. date hierarchy is Year-Quarter-MonthYear. EG
2014-Q2-May,2014. as labels display
Values is like this:[Date].[Year to Month].[Month].&[2002]&[7]. How Can I extract month number like 7 from here so that I can do less than or equal in IIF is ssrs charts.
I want to compare months with user input month so that I can restrict data in charts. If user select march,2014. I will display data from Jan 2014- Mach 2014 for actual.How is the user selecting the month? Is month parameter a free text field? If you're using MDX itself to populate month values then selected month value would be passed in same format itself ie [Date].[Year
to Month].[Month].&[2002]&[7] etc
Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs -
Hi All,
I have two date characteristics Start date and Pricing date. now i need to create a query, showing the month of start date and Pricing in two seperate columns.
suppose start date = 08/15/2007
pricing date = 10/20/2007
then in the query i need to have two columns with output
Start data month... |.........pricing date month
..........08..............|......... 10
Any advice on how to acheive this.
Thanks
KumarTry this
DATA: L_S_RANGE TYPE RSR_S_RANGESID.
DATA: LOC_VAR_RANGE LIKE RRRANGEEXIT.
CASE I_VNAM.
WHEN 'yourvar'.
IF I_STEP=2. "after the popup
LOOP AT I_T_VAR_RANGE INTO LOC_VAR_RANGE
WHERE VNAM = 'variablename where user entry'.
CLEAR L_S_RANGE.
L_S_RANGE-LOW = LOC_VAR_RANGE-LOW+4(2). "YYYYMMDD
L_S_RANGE-SIGN = 'I'.
L_S_RANGE-OPT = 'EQ'.
APPEND L_S_RANGE TO E_T_RANGE.
EXIT.
ENDLOOP.
ENDIF. -
Problem selecting MAX YEAR MAX MONTH MAX DATE in one query
CREATE TABLE TEMP
C_INVOICE_ID NUMBER(10),
DIA NUMBER,
MES NUMBER,
ANO NUMBER,
SOCIO_NEGOCIO NVARCHAR2(60) NOT NULL,
PRODUCTO_NOM NVARCHAR2(60) NOT NULL,
M_PRODUCT_ID NUMBER(10),
CATEGORIA NVARCHAR2(60) NOT NULL,
COSTO NUMBER
INSERT INTO TEMP VALUES(10111,1,2,2010,'1585','ALURON 100MG X 30 TABLETAS',1530,15,1.15);
INSERT INTO TEMP VALUES(1015,15,2,2010,'1520','ALURON 100MG X 30 TABLETAS',1530,15,2.15);
INSERT INTO TEMP VALUES(5654,5,2,2010,'1520','AMARYL 2MG X 15 TABLETAS',1531,15,4.2);
INSERT INTO TEMP VALUES(15321,4,6,2010,'1520','AMARYL 2MG X 15 TABLETAS',1531,15,4.8);
INSERT INTO TEMP VALUES(13548,8,6,2010,'1585','AMARYL 2MG X 15 TABLETAS',1531,15,4.3);
INSERT INTO TEMP VALUES(19456,31,4,2010,'1220','AMARYL 2MG X 15 TABLETAS',1531,15,4);
INSERT INTO TEMP VALUES(116544,8,8,2010,'1220','AMARYL 2MG X 15 TABLETAS',1531,15,4.8);
INSERT INTO TEMP VALUES(132,2,3,2010,'1220','AMARYL 2MG X 15 TABLETAS',1531,15,4.1);
INSERT INTO TEMP VALUES(168,15,1,2010,'1220','AMARYL 2MG X 15 TABLETAS',1531,15,4.9);
INSERT INTO TEMP VALUES(4898,7,4,2010,'1220','AMOXAL 250MG X 75ML SUSPENSION',1534,15,3.8);
INSERT INTO TEMP VALUES(15132,25,9,2010,'1585','AMOXAL 250MG X 75ML SUSPENSION',1534,15,3.4);
INSERT INTO TEMP VALUES(1684,18,8,2010,'1585','AMOXAL 250MG X 75ML SUSPENSION',1534,15,3.3);
INSERT INTO TEMP VALUES(14988,8,8,2010,'1585','AMOXAL 250MG X 75ML SUSPENSION',1534,15,2.9);
INSERT INTO TEMP VALUES(84941,8,9,2010,'1585','AMOXAL 250MG X 75ML SUSPENSION',1534,15,4.1);
INSERT INTO TEMP VALUES(1155,7,4,2010,'1585','AMOXAL 250MG X 75ML SUSPENSION',1534,15,4.7);
INSERT INTO TEMP VALUES(184,1,1,2010,'1520','AMOXAL 250MG X 75ML SUSPENSION',1534,15,3.9);
INSERT INTO TEMP VALUES(48994,8,4,2010,'1520','AMOXAL 250MG X 75ML SUSPENSION',1534,15,3.7);
INSERT INTO TEMP VALUES(1465465,9,5,2009,'1520','AMOXAL 250MG X 75ML SUSPENSION',1534,15,3.8);
INSERT INTO TEMP VALUES(16,18,6,2009,'1520','AMOXAL 250MG X 75ML SUSPENSION',1534,15,3.9);
INSERT INTO TEMP VALUES(894886,20,4,2009,'1520','AMOXAL 250MG X 75ML SUSPENSION',1534,15,3.9);
CREATE TABLE TEMP
C_INVOICE_ID NUMBER(10),
DIA NUMBER,
MES NUMBER,
ANO NUMBER,
SOCIO_NEGOCIO NVARCHAR2(60) NOT NULL,
PRODUCTO_NOM NVARCHAR2(60) NOT NULL,
M_PRODUCT_ID NUMBER(10),
CATEGORIA NVARCHAR2(60) NOT NULL,
COSTO NUMBER
INSERT INTO TEMP VALUES(10111,1,2,2010,'1585','ALURON 100MG X 30 TABLETAS',1530,15,1.15);
INSERT INTO TEMP VALUES(1015,15,2,2010,'1520','ALURON 100MG X 30 TABLETAS',1530,15,2.15);
INSERT INTO TEMP VALUES(5654,5,2,2010,'1520','AMARYL 2MG X 15 TABLETAS',1531,15,4.2);
INSERT INTO TEMP VALUES(15321,4,6,2010,'1520','AMARYL 2MG X 15 TABLETAS',1531,15,4.8);
INSERT INTO TEMP VALUES(13548,8,6,2010,'1585','AMARYL 2MG X 15 TABLETAS',1531,15,4.3);
INSERT INTO TEMP VALUES(19456,31,4,2010,'1220','AMARYL 2MG X 15 TABLETAS',1531,15,4);
INSERT INTO TEMP VALUES(116544,8,8,2010,'1220','AMARYL 2MG X 15 TABLETAS',1531,15,4.8);
INSERT INTO TEMP VALUES(132,2,3,2010,'1220','AMARYL 2MG X 15 TABLETAS',1531,15,4.1);
INSERT INTO TEMP VALUES(168,15,1,2010,'1220','AMARYL 2MG X 15 TABLETAS',1531,15,4.9);
INSERT INTO TEMP VALUES(4898,7,4,2010,'1220','AMOXAL 250MG X 75ML SUSPENSION',1534,15,3.8);
INSERT INTO TEMP VALUES(15132,25,9,2010,'1585','AMOXAL 250MG X 75ML SUSPENSION',1534,15,3.4);
INSERT INTO TEMP VALUES(1684,18,8,2010,'1585','AMOXAL 250MG X 75ML SUSPENSION',1534,15,3.3);
INSERT INTO TEMP VALUES(14988,8,8,2010,'1585','AMOXAL 250MG X 75ML SUSPENSION',1534,15,2.9);
INSERT INTO TEMP VALUES(84941,8,9,2010,'1585','AMOXAL 250MG X 75ML SUSPENSION',1534,15,4.1);
INSERT INTO TEMP VALUES(1155,7,4,2010,'1585','AMOXAL 250MG X 75ML SUSPENSION',1534,15,4.7);
INSERT INTO TEMP VALUES(184,1,1,2010,'1520','AMOXAL 250MG X 75ML SUSPENSION',1534,15,3.9);
INSERT INTO TEMP VALUES(48994,8,4,2010,'1520','AMOXAL 250MG X 75ML SUSPENSION',1534,15,3.7);
INSERT INTO TEMP VALUES(1465465,9,5,2009,'1520','AMOXAL 250MG X 75ML SUSPENSION',1534,15,3.8);
INSERT INTO TEMP VALUES(16,18,6,2009,'1520','AMOXAL 250MG X 75ML SUSPENSION',1534,15,3.9);
INSERT INTO TEMP VALUES(894886,20,4,2009,'1520','AMOXAL 250MG X 75ML SUSPENSION',1534,15,3.9);
I have this query so far,
SELECT
MAX (TEMP.COSTO) COSTO,
TEMP.M_PRODUCT_ID,
TEMP.ANO
FROM TEMP TEMP
INNER JOIN(
SELECT MAX(ANO) ANO, M_PRODUCT_ID
FROM TEMP I
GROUP BY M_PRODUCT_ID
) LA ON LA.ANO = TEMP.ANO AND LA.M_PRODUCT_ID = TEMP.M_PRODUCT_ID
GROUP BY
TEMP.M_PRODUCT_ID,
TEMP.ANO
but my intention is not to have the max cost, my intention is to query in this order
first i need to select distinct m_product_id then
for every m_product_id i need to
filter max (ano) then filter max (mes) then filter max (dia)
I need the result set like this.
C_INVOICE_ID DIA MES ANO SOCIO PRODUCTO_NOM M_PRODUCT_ID CATERGORIA COSTO
1015 15 2 2010 1520 ALURON 100MG X 30 TABLETAS 1530 15 2.15
5654 5 2 2010 1520 AMARYL 2MG X 15 TABLETAS 1531 15 4.2
15132 25 9 2010 1585 AMOXAL 250MG X 75ML SUSPENSION 1534 15 3.4
please i really apritiated any help, thanks pd:i'm using oracle 9iHi,
Thanks for posting the CREATE TABLE and INSERT statements. Why are there two tables, and two sets of data? Was that a mistake?
Sorry, I don't uderstand the problem.
For m_product_id=1531, for example, why do you want
INSERT INTO TEMP VALUES(5654, 5, 2, 2010,'1520','AMARYL 2MG X 15 TABLETAS',1531,15,4.2);selected, and not
INSERT INTO TEMP VALUES(116544, 8, 8, 2010,'1220','AMARYL 2MG X 15 TABLETAS',1531,15,4.8);Both rows have ano=2010, so don't you want the one with the higher mes (8 > 2)?
I think what you'll want is a Top-N Query , something like this:
WITH got_r_num AS
SELECT temp.* -- or list columns you want
, RANK () OVER ( PARTITION BY m_product_id
ORDER BY ano DESC NULLS FIRST
, mes DESC NULLS FIRST
, dia DESC NULLS FIRST
) AS r_num
FROM temp
-- WHERE ... -- any filtering goes here
SELECT * -- or list all columns except r_num
FROM got_r_num
WHERE r_num = 1
;What if there's a tie? For example, if you add another row to the sample data:
INSERT INTO TEMP VALUES(9876, 15,2, 2010,'1520','ALURON 100MG X 30 TABLETAS',1530,15,2.15);The query above would include both c_invoice_id=9876 and 1015. If you want just one of those rows, add more expressions to the analytic ORDER BY clause and/or use ROW_NUMBER instead of RANK. -
Report on Payments From Customers on ABAP query
Dear SAP Experts!
A report is required to be made fro all the Payments of the Customers Document Type DZ
Customer Number
Sales District
County code
Payment amount: WRBTR.
As we Know there are 2 tables for the Customers IN BSEG
1. BSIS
2. BSID
Condition being : Debit./Credit Ind. : H
Posting Keys : 15 & 19.
Is it possible to create a query report in one feild PAYMENTS(User-defiend say in extras) to dispaly.
WRBRT of both BSIS & BSAD.
Please guide me with the logic.
Thanks & regards,
A SHi,
Use BSAD table. It has all the fields except sales district.
Standard reports
S_ALR_87012198 : click on dynamic selection, In documents section we have document type field enter DZ.
S_ALR_87012160 : select the only customer line items, in dynamic selection enter document type DZ.
Regards,
Chandra -
Hi All,
My users require the ability to select a sharepoint group from a drop down list and then be able to select a user from a people picker based on the drop down selection. The best solution I was able to up with, was create a people picker
for each drop down selection and set the Sharepoint group field to the selected group. All people picker filed are hidden except the one that matches the drop down selection. When creating an entry from the sharepoint list this method
works perfectly.
However, when I add the list onto a site page using an "Listview webpart", then add an infopath web part and then finally connect the two parts, I get a "List View Lookup Threshold" error when selecting an entry from the list. I
understand from the error and reading that this error is related to the number of People pickers in the list. Is there a way to exclude temporary people picker fields from a site page query, as they are only temporary fields to allow the users
to select a person and then assign the name to another field.
DwayneHi Dwayne,
In SharePoint 2013, we could manually create a list for all users. Here are the reference:
Go to Site Settings > People and Groups > SiteMembers
Modify url
http://sitename/_layouts/15/people.aspx?MembershipGroupId=8 to
http://sp/sites/tutu/_layouts/15/people.aspx?MembershipGroupId=0 , now you will see All people in this site.
Change the view to List view, and copy the listview id in the url
http://sitename/_layouts/15/people.aspx?MembershipGroupId=0&View={viewID}
Go to Settings > List settings, copy the list id in the url
http://sitename/_layouts/15/listedit.aspx?List=listeid&Source=....
Now type the address in IE:
http://sitename/_vti_bin/owssvr.dll?CS=109&Using=_layouts/query.iqy&List=[LISTID]&View=[VIEWID]&CacheControl , such as
http://sp/sites/tutu/_vti_bin/owssvr.dll?CS=109&Using=_layouts/query.iqy&List=f3958d27-9c2f-4f8d-b221-89466e816667&View=696BFDC5-0C6E-4E27-818F-0E6292A18407&CacheControl=1
Save the owssvr.jqy from SharePoint site
Now you could see the file in your desktop with all users, save it as allusers in Excel.
Then import it to your SharePoint site, add an app > find an app > import spreadsheet
Regards,
Rebecca Tu
TechNet Community Support -
How to extract month from given date in bpel??
Hi friends hi need some information regarding dates in BPEL.. Here in these I taking date as input which type is also date type.Then required output is month in number format.. Here I used Assign activity and in assign activity,I took month-from-date and passed argument to this function.But it raised an error "internal Xpath error" Any one can you give me ideas please....
First convert you date into datetime and then use the month-from-datetime function.
Regards,
Anshul
Maybe you are looking for
-
Hi, I've a query for a report as below. I want distinct donor code whereas i have 2 or more customers with same name and i want to retrieve data of customers between specific donor codes.I've a syntax error where i give 'between' for the following sy
-
Unable to create text using SAVE_TEXT FM
Dear Experts, I' m trying to automaticly create a text in Create measurement Document (IK11 in PM) when notification is created . For this in program IMRC0004 on exit i put FM SAVE_TEXT but its not working as it should. BAPI_ALM_NOTIF_CREATE & BAPI_A
-
Switching Ipod from windows to mac without losing all data
Please help. I set up my Ipod last year with windows computer, downloaded most of my CD's and lots of other music, last month laptop was stolen and I decided to buy a macbook as replacment. I would like to transfer all songs from IPOD to new itunes l
-
Login error in forms ora-28009
Hi , Am trying to login forms 10g as sysdba.But am getting error ora-28009 username:sys password:sys connect:oracle causes ora-28009 username:sys as sysdba or sys/ as sysdba or sys/sys as sysdba password:sys connect:oracle causes ora-01017 username:s
-
I am behind a NAT router so if I ask java my IP adress I get my LAN ip, something like 192.168.... But in my Java app I need my internet/WAN IP, which is the IP of the router on the WAN side. I specifically told the router to The ip I get on www.what