Problem creating Refresh Group
Hi there, I try to create a refresh group, but I always get an Error Message:
ORA-01858: a non-numeric character found where a digit was expected
This is my code for creating the refresh group:
BEGIN
DBMS_REFRESH.make('refgroup1',
'mv_history', 'mv_subtopics',
NULL, NULL);
END;
And this is taken out of the offical Oracle Heterogenenous Connectivity documentation.
BEGIN
dbms_refresh.make('refgroup1',
'pk_mv, sq_mv, cx_mv',
NULL, NULL);
END;
I don't get it, where's the error in my version?
Regards, Thomas
Thomas,
Try this (cut and paste):
BEGIN
DBMS_REFRESH.make('refgroup1',
'mv_history, mv_subtopics',
NULL, NULL);
END;
Explanation
The [url http://download-uk.oracle.com/docs/cd/B19306_01/server.102/b14227/rarrefreshpac.htm#sthref1289]Advanced Replication Management API Reference manual describes DBMS_REFRESH.MAKE() like this :-
DBMS_REFRESH.MAKE (
name IN VARCHAR2
{ list IN VARCHAR2,
| tab IN DBMS_UTILITY.UNCL_ARRAY,}
next_date IN DATE,
interval IN VARCHAR2,
implicit_destroy IN BOOLEAN := false,
lax IN BOOLEAN := false,
job IN BINARY INTEGER := 0,
rollback_seg IN VARCHAR2 := NULL,
push_deferred_rpc IN BOOLEAN := true,
refresh_after_errors IN BOOLEAN := false
purge_option IN BINARY_INTEGER := NULL,
parallelism IN BINARY_INTEGER := NULL,
heap_size IN BINARY_INTEGER := NULL);The second parameter "list" should be a string containing a list of materialized views, seperated by commas. In the Oracle example, it is 'mv_history, mv_subtopics', but in your code, you have supplied the two views as seperate parameters. The third parameter should be a date. Since it is a string, it quietly wraps it in a TO_DATE() for you, which applies the default date format, which is probably something like 'DD-MM-RR'. 'mv' is not a digit, hence the 'non-numeric' error.
Tak
Similar Messages
-
Problem Creating ASM Group Disk
Hey to all,
I have problem to when i m trying to create Dis group in windows . we pass parameter in linux as
create diskgroup name
external redundancy
disk
'/dev/d1',
'/dev/d2',
'dev/d3'
but i do't know how give disk path in windows
plz tell me if any body now or used
atif akram
[email protected]$ cd /dev/oracleasm
node 2:
$ cd /dev/oracleasm
$ ls -lL
total 0
-rw-rw---- 1 grid asmadmin 0 Aug 15 11:08 .check_iid
drwxr-xr-x 1 root root 0 Aug 15 11:08 disks/
-rw-rw---- 1 grid asmadmin 0 Aug 15 11:08 .get_iid
drwxrwx--- 1 grid asmadmin 0 Aug 15 11:08 iid/
-rw-rw---- 1 grid asmadmin 0 Aug 15 11:08 .query_disk
-rw-rw---- 1 grid asmadmin 0 Aug 15 11:08 .query_version
$ ls -lL disks/*
brw-rw---- 1 grid asmadmin 8, 33 Aug 15 11:08 disks/CRSVOL1
brw-rw---- 1 grid asmadmin 8, 49 Aug 15 11:08 disks/DATAVOL1
brw-rw---- 1 grid asmadmin 8, 65 Aug 15 11:08 disks/FRAVOL1
node 1:
$ cd /dev/oracleasm
$ ls -lL
total 0
-rw-rw---- 1 grid asmadmin 0 Aug 15 12:30 .check_iid
drwxr-xr-x 1 root root 0 Aug 15 12:30 disks/
-rw-rw---- 1 grid asmadmin 0 Aug 15 12:30 .get_iid
drwxrwx--- 1 grid asmadmin 0 Aug 15 12:30 iid/
-rw-rw---- 1 grid asmadmin 0 Aug 15 12:30 .query_disk
-rw-rw---- 1 grid asmadmin 0 Aug 15 12:30 .query_version
$ ls -lL disks/*
brw-rw---- 1 grid asmadmin 8, 33 Aug 15 12:30 disks/CRSVOL1
brw-rw---- 1 grid asmadmin 8, 49 Aug 15 12:30 disks/DATAVOL1
brw-rw---- 1 grid asmadmin 8, 65 Aug 15 12:30 disks/FRAVOL1 -
Problem creating cache group for a table with data type varchar2(1800 CHAR)
Hi,
I am using TimesTen 7.0 with Oracle 10.2.0.4 server. While creating Cache Group for one of my table I'm getting the following error.
5121: Non-standard type mapping for column TICKET.DESCRIPTION, cache operations are restricted
5168: Restricted cache groups are deprecated
5126: A system managed cache group cannot contain non-standard column type mapping
The command failed.
One of my filed type in oracle table is Varchar2(1800 CHAR). If I change the filed size to <=1000 it (E.g. Varchar2(1000 CHAR)) then the Create Cache command works fine.
MyDatabase Character Set is UTF8.
Is it possible to solve without changing the filed size in the Oracle Table?
Request your help on this.
Thanks,
SunilHi Chris.
The TimesTen server and the Oracle Client is installed on a 32-bit system.
1. ttVersion
TimesTen Release 7.0.5.0.0 (32 bit Linux/x86) (timesten122:17000) 2008-04-04T00:09:04Z
Instance admin: root
Instance home directory: /appl/TimesTen/timesten122
Daemon home directory: /var/TimesTen/timesten122
Access control enabled.
2. Oracle DB details
SQL> select * from v$version;
BANNER
Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bi
PL/SQL Release 10.2.0.3.0 - Production
CORE 10.2.0.3.0 Production
TNS for Linux: Version 10.2.0.3.0 - Production
NLSRTL Version 10.2.0.3.0 - Production
Oracle Client - Oracle Client 10.2.0.4 running in a 32 bit Linux/x86
3. ODBC Details
Driver=/appl/TimesTen/timesten122/lib/libtten.so
DataStore=/var/TimesTen/data
PermSize=1700
TempSize=244
PassThrough=2
UID=testuser
OracleId=oraclenetservice
OraclePwd=testpwd
DatabaseCharacterSet=UTF8
Thanks,
Sunil -
Problems creating Firewall Groups
I'm testing Leopard Server - I'm trying to configure the Firewall and I'm not able to add Groups.
When I click the "+" symbol the window appears and let's me type a name, but then I try to add a range of address, the interface goes nuts. It always tries to add an "any" range, and no matter what I try I cannot delete the "any" range, modify the "any" range or simple leave the "any" range and add another range, and worst of all, even if I can get it to accept a range, it disappears.
Apple, this is really bad programming. As an admin, I have not since of reliability when an interface works like this. This reminds me of Windows, what you see if never what you get.I'm testing Leopard Server - I'm trying to configure
the Firewall and I'm not able to add Groups.
Apple, this is really bad programming. As an admin,
I have not since of reliability when an interface
works like this. This reminds me of Windows, what
you see if never what you get.
As an admin, you shouldn't be using beta software in production and you should understand that it is not finished yet and you should understand that you agreed to an NDA (or you pirated it) and shouldn't be discussing it in a public forum. -
Create materialized view as part of refresh group
Hello,
When I create a materialized view in 11g it automatically creates its own refresh group. How can I create the materialized group as part of an existing refresh group? (I know I can drop the individual refresh group and add the mview to the main refresh group but that is a pain).
Thank you,>
How can I create the materialized group as part of an existing refresh group?
>
You can't - you need to add the MV to the existing refresh group.
See the Add Procedure of the DBMS_REFRESH package
http://docs.oracle.com/cd/B28359_01/server.111/b28327/rarrefreshpac.htm -
Problem in creating Release group for Release Procedure for PR
Hi Experts,
I could not able to create Release Group ( 01 & 02 ) for Release Procedure and assigning it with a Class
( Z_CLASS_PR ) in Set up Procedure with Classification.
The following error is getting displayed.
Please check release classes (see long text)..
How to over come this problem.
Thanks in advance.
Regards,
NaniRelease group:
You are only allowed to use one class for each release object (1=PReq, 2=Purchase order). When you use the overall release (as of Release 4.0A), you are only allowed to use one class for the overall release or individual release. If you use the overall release for purchase requisitions, you must mark this for the document type (transaction OMEB, flag for V_T161-GSFRG) and the release group (transaction OMGQ, flag for V_T16FG-FRGFG). In the overall release, the system only takes into account characteristics that are identical for all items. If, for example, item 10 of a purchase requisition contains material group 001 and item 20 contains material group 002, the material group is set to BLANK for the strategy determination. -
Release Procudure - Problem while creating Release Group:Reg-
in release procedure char. were created and class also created and the char. were assigned to the class too.
But when i am creating release group the below error was coming..
Please check release classes (see long text)
and if i am see long text the below is the error
Please check release classes (see long text)
Message no. ME492
Diagnosis
Here you can assign release groups to release classes. Only one release class should be used within the release groups for overall release and the release groups without overall release in each case. However, in this instance several release classes have been used.
Procedure
Assign the release groups that were created for overall release to one release class only. Assign the release groups that were not created for overall release to a different release class.
Example:
Rel. group Rel. obj. Overall rel. Class Description
01 1 _ FRG_EBAN Group 01
02 1 _ FRG_EBAN Group 02
S1 1 X FRG_GF_EBAN Group S1
S2 1 X FRG_GF_EBAN Group S2
please see what can i do to solve the issue.
Thanks and Regards,
Rajesh.HI,
It is not possible to have more than one class define in the release
strategy but it is possible to define difference characterics within
the same class.
Please verify the following:
1) As the long text of the message says, first check that one release
class only is used within the release groups for overall release and
the release groups without overall release in each case. However, in
this instance several release classes have been used.
This means you have to have one release class only for all the
release groups for overall release.
Assign the release groups that were not created for overall release
to a different release class.
Example:
Rel. group, Rel. obj., Overall rel., Class , Description
01,,1,,_, FRG_EBAN, Group 01
02,,1,,_, FRG_EBAN, Group 02
S1,,1,,X, FRG_GF_EBAN, Group S1
S2,,1,,X, FRG_GF_EBAN, Group S2
2) If you have followed all the indications of the long text of the
message and the error is still displayed, please try to create the
new release group via the 'New Entries' button.
3) If you tried to create the release group via this button and the
error is still been displayed, please verify the implementation of
note 125316 in you system.
Best Regards,
Arminda Jack -
Problem while creating logon group in sapgui
Dear all,
To create logon group in SAP GUi, I am trying with group options
When we hit the generate list with proper entries, in some machines
It is showing login groups. But in some machine it will show
sapmsPRD message not reachable or unknown.
We try with service file (in local machine), we enter
The port sapmsPRD 3600 or sapmsPRD 3200
The above technique is success in some machine in some machine is not.
Regards,
satishYou need to enter in the services file
sapms<SID> 3600/tcp
If you use DNS in an active Directory domain you may need to
ipconfig /flushdns
to make the local system re-read its service file.
Markus -
Permission problem while creating cache group
Hi,
I am trying to create cache groups on SQL developer in TimesTen Cache DB. I have connected to the CacheDB using schema owner/password (say HR/HR). While creating a cache group, I am required to set cache administrator, which in turn requires this user (that is the schema user) to have the CACHE_MANAGER permission.
Is it necessary for the schema user to also be the cache_manager to be able to create a cache group?
As per the documentation, no such requirement has been mentioned, which means I am probably missing a step in between.
Also, if I connect to the DB via Cache Manager user (cacheuser/timesten with oracle as ORA pwd), I don't see the HR schema tables while creating a cache group.
Could someone clarify this?
Thanks in advance!
Regards,
Silky
Applications Engineer
Oracle India Pvt. Ltd.A cache admin user require CACHE_MANAGER privilege to do all cache operation. It has been documented here
http://docs.oracle.com/cd/E21901_01/doc/timesten.1122/e21634/prereqs.htm#CHDJBIAE
Please go through the section "Configuring a TimesTen database to cache Oracle data " for setting up cache in Timesten side.
"As the instance administrator, use the ttIsql utility to grant the cache manager user cacheuser the required privileges:
Command> GRANT CREATE SESSION, CACHE_MANAGER, CREATE ANY TABLE TO cacheuser;
Command> exit "
Hope you have run required script in Oracle side also. Section : Configuring the Oracle database to cache data in TimesTen
Regards
Rajesh -
Time Refresh Groups take to finish
Hi all,
I've been searching this thing for a lot of time, but came out with nothing.
I have 104 Refresh Groups going during the night. Since I am adding to all the RGs various tables to replicate, I need to know how much time does the refresh group take to refresh so that I can monitor if the added tables create problems to the night job.
I have Oracle 10.2.0.4 and I also have the DB on Oracle Grid.
Any suggestions? Both via SQLPLUS or Oracle Grid.
Thank you!!
PhelitHi,
If you know the start time , then use the below query.
Select Mview_name,REFRESH_MODE,REFRESH_METHOD,OWNER,LAST_REFRESH_DATE FROM ALL_MVIEWS; -
Error while creating product group
hi,
i am getting error while creating Product group.
Required parameters missing when calling up module
Message no. M3749
Please suggest me.. how to cop this
Regards,
amitDear Brahmankar,
I am using product groups in SOP as well as in the normal plannning scenario.In the normal planning scenario I am giving my PIR's in MD61 for the entire group.Then I am running MRP in MD02 for my product group.System is generating all the requirements normally for the entire group .
Please suggest me , this process is correct or it will create any problem in any module .
Thanks & Regards
Prabhakar -
How to ADD Materialized Views to Refresh Group
Hi,
My requirement is, i want to refresh MVs(fast refresh only) by using DBMS_SCHEDULER. For this i have created one DBMS_SCHEDULER job like below.
BEGIN
DBMS_SCHEDULER.CREATE_JOB (
JOB_NAME => 'REFRESH_MV_UPLOAD',
JOB_TYPE => 'PLSQL_BLOCK',
JOB_ACTION => 'DBMS_REFRESH.REFRESH('MV_UPLOAD_GRP');',
REPEAT_INTERVAL => 'FREQ=MINUTELY; INTERVAL=30',
ENABLED => TRUE
END;
In the above script, i created one refresh group 'MV_UPLOAD_GRP'. So what my requirement is i want to ADD my MVs refresh scripts to this group. Scripts as below...
Refresh MV Scripts:
1) Exec dbms_mview.refresh('emp.entity', 'f');
2) Exec dbms_mview.refresh('emp.identifier', 'f');
3) Exec dbms_mview.refresh('emp.rating_hist', 'f');
. so on.
Can anyboy help me how to add these scripts to refresh group 'MV_UPLOAD_GRP'.
Regards
RajALL_REFRESH and ALL_REFRESH_CHILDREN
http://download.oracle.com/docs/cd/B19306_01/server.102/b14227/rarsnapviews.htm#REPMA027
Nicolas. -
How to create new groups (list) for storing user's data?
Hi,
I'm using cq-5.4 and I was undertaking the campaign management tutorial which explains about how to send out a weekly news letter. As a part of that I was creating a sign up form for subscribers to fill out. So after filling up that form, user's data would get stored somewhere and eventually that data will be used while sending out the weekly news letters to him.
This was the link I was referring to for that,
http://dev.day.com/docs/en/cq/5-4/wcm/campaigns.html#Create a Sign Up Form
So on that link, the 3rd screenshot talks about how to set the form action. They have for example set the form action to 'Create and Update Account' and accordingly under 'Action Configuration', 'geometrixx newsletter' is assigned as the 'Initial Group'. But they never talked about how to create the 'geometrixx-newsletter' group? Where to create that group etc. Hence, after completing the form when I press submit, nothing happens. In reality whatever data I entered should've got stored in the 'geometrixx newsletter' group.
So that is the place where I'm stuck. Can someone tell me how and where should i create this group?
Thanks!Hi,
Thank you for posting the screen shots I have been unsuccessful in determining exactly where the problem is coming from. Would it be possible for you to post the actual VI so that I can work with it so see if I can reproduce this issue using your code? In regard to your questions:
1. You are correct 1000 samples read should write 1000 samples to the table
2. I believe the discrepancy is due to amount of manipulation done between the read and the file write but I cannot be certain, without the code to work with.
3. I am unclear as to exactly what is happening. If you are reading empty channels then you may receive erroneous readings this is to be expected. When you connected your accelerometer did you connect in RSE or differential? You can also manipulate the signal range with will affect the gain setting, how off are the readings?
JaceD
Signal Sources Product Support Engineer
National Instruments -
How to create a group with multiple data fields
Post Author: RichS
CA Forum: Formula
Using CR XI. Using CSV input from ODBC text driver. No problems here.
There are 3 fields that I want the same group by action. Is this possible?)
If any one of these 3 fields change I want some header information and column fieldnames to display. The header information I only want displayed on the first page (on the change) and the column fieldnames to display on every page. I have played around with things like "InRepeatedGroupHeader" and "report group header on each page". I am not getting all the results that I am looking for though.
I want report to look like:
Page header stuff (to display on every page) This data consists of some fields that will have static data and will display on every page. And it consists of 3 non-static fields that I want to group on.
Group header stuff that I only want displayed on the first page on a change from one of the 3 fields mentioned above.
Column headings that I want displayed on every page.
Details data
Group footer stuff (details not important for this)
I get the expected output (column headings displayed on every page, and group header stuff display on the first page on each group change) with one group field. But I want the group change to happen for all 3 fields.
It seems simple but I can't find a way to create a "group" so if "field1 or field2 or field3" change, I get the same "group by" action. I just need to know how to get the expected action.
I expect that I might have some terms mixed up and/or some important information that would aide you in helping me. If that is the case please re-post and I will add any missing or mis-stated information.
Thanks,Post Author: V361
CA Forum: Formula
I am slightly confused, but perhaps you can create a formula
Then group on the formula. If this is not what you want, could you post some sample data, with the desired results. -
How to create a group mailing list in JavaMail?
Hello,
I've been searching through the entire API, specifically the InternetAddress class and I can't seem to find out how to create a group/mailing list. Does anyone know how to do this?
That is, I would like to be able to group a bunch of e-mail addresses together and give that group a name "my friends". Then send it off using this 'group mail address' as opposed to an array of InternetAddress[]. Then when the recipients receive the e-mail, they see "my friends" in the To: field, instead of everyone's e-mail address...
Is this possible in JavaMail? I've tried many things like creating an InternetAddress object passing in a comma-delimited list of e-mail addresses but it doesn't like it.
Thanks in advance!Hi:
I have the same problem. I've read JavaMail implements RFC 822 which allow mailing lists. But, �how can I implement it with JavaMail?
Best regards,
Fabio Galarraga.
Maybe you are looking for
-
Can my client add a link when editing text with the content management of Business Catalyst?
I created a site using Muse. My client chose to host with BC and take advantage of the content management option. She has edited text to include her email and wants to create a hyperlink from that text to her actual email. Is this possible and if so,
-
Installing the factory image from linux
Currently I have Cianogenmod, since I'm getting tired of it, I want to go back to the factory image, if possible the lollipop one directly. I tried the emma tool, but I'm behind a very ugly firewall and it couldn't connect to the internet. How can I
-
Hi guys, Here is the idea of this: https://forums.adobe.com/thread/1712927#7217892 Thanks.
-
Chinese characters to Unicode Escape
I'd like to implement a function that convert Chinese string into Unicode escape codes. Just like what the native2ascii doing. I can convert single bytes with charToHex but have no clue on dealing double byte character. Any hints?
-
Resources for end user testing...What works...
I am involved in a project that will likely be a retail item. The client, art director and I are "so close" to the project that we do not feel adequate to give is full test. Thinking of hiring some folks (male and female-20-50 age range) and have the