473,804 Members | 2,201 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

snapshot / materialized view with column types

I need to set the column types and lengths in my materialized view that is
created with a select as. Anyone able to do this?

Here's one of my gazillion attempts which gave me a syntax error.

Oracle 8.1.7.1 on HP-UX 11.

CREATE SNAPSHOT gb_vw AS
SELECT dummy as test varchar2(2)
FROM dual

Thanks,
Geoffrey
Jul 19 '05 #1
0 1780

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
7976
by: Bernard Segonnes | last post by:
Hi I'm a bit lost with snapshot creation, so can I have an easy (but with all details : *.ora, user grants, *.sql, db links, ...) example of snapshot between : Server1 : instance : I1 oracle user : user1 table : user1.table1
1
3276
by: Ozy | last post by:
how to create a snapshot view on a table that refreshes each time a table is updated (or inserted row)? Or, at least, how to refresh snapshot periodicaly, let's say, each 10 minutes? tnx
3
18001
by: M. Mehta | last post by:
It seems that you can not create a materialized view if you are using outer joins...can someone please verify this? Thanks M. Mehta Please follow my example below: created 2 tables:
1
4129
by: Hans-Jürgen Schönig | last post by:
hello ... i am running into a couple of questions regarding materialized view logs. my goal is to take data from an oracle database and replicate it to some remote data store (maybe some other datastore can poll the materialized view log or so). the idea is: if i could simply replicate the changes made to a materialized view it would be perfect. i have come across materialized view logs but i don't really know how to treat them...
4
2314
by: Mairhtin O'Feannag | last post by:
Hello all ... hopefully without sounding too obtuse, we've run into a case where we need to persist the contents of a view for performance reasons. As I understand it (and I don't really) Oracle has something called a snapshot, which "automatically" persists the contents of a view and can determine the delta of the contents somehow. This would be PERFECT for this application, since the data only updates monthly maybe, but in chunks of...
1
3067
by: rumasinha | last post by:
Hi, I first created a materialized view that was based on the org striped views like po_headers hence the automatic refresh was not happening. After automatic complete refresh, the materialized view was showing null records. Hence I based the materialized view on "_all" tables and then based a view on this materialized view and this view I made org striped. In the materialized view , I was refering to...
0
1253
by: sybrandb | last post by:
JamesLane <JamesLane03@yahoo.comwrote in message news:<3038611.1056489810@dbforums.com>... There is not Sybrand Bakker Senior Oracle DBA
0
369
by: Geoff Bray | last post by:
I need to set the column types and lengths in my materialized view that is created with a select as. Anyone able to do this? Here's one of my gazillion attempts which gave me a syntax error. Oracle 8.1.7.1 on HP-UX 11. CREATE SNAPSHOT gb_vw AS SELECT dummy as test varchar2(2) FROM dual
2
2544
by: Preeti Bajaj | last post by:
I created a materialized view log on table DUMMY_TAB as shown below: create materialized view log on DUMMY_TAB with primary key including new values; Primary key for the table DUMMY_TAB is trans_id.In this table if any date is added i want to refresh the materialized view. Then i created materialized view on table DUMMY_TAB as follows: create materialized view temp_view build immediate
0
9715
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9595
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10352
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10354
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10097
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7642
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5673
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4313
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3835
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.