Change the sentence to a unique new virtual column in an existing view of Oracle

Hello

I'm using the Oracle 11 g on Windows. I need a need a new single virtual column (integer) in an existing Oracle view called RAIL_VIEW.

Can someone help me with a sentence simple alter to add a virtual column that had a unique ID defined system - it does not matter what it contains, it should be just a unique id all the time (is there something like a GUID or allows the sysdate?).

Thank you!
Dejan

something like that?

select t1.fid
      ,t1.oznaka
      ,t1.st_xxx
      ,t1.ime_xxx
      ,t1.id_upr_fk
      ,t2.geom
      ,t2.length
      ,t2.tip_spr
      ,t2.id
      ,t2.id_upr
      ,t2.sif_vrste
      ,t2.cc_klas
      ,t2.topo
      ,t2.nat_yx
      ,t2.z
      ,t2.nat_z
      ,t2.gji
      ,t2.dat_vir
      ,t2.mat_st
      ,t2.mat_gjs
      ,t2.id_el
      ,t2.dat_el
      ,t2.dim_yx
      ,t2.dim_z
      ,t2.opu
      ,t2.atr1
      ,t2.atr2
      ,t2.atr3
      ,t2.atr4
      ,t2.atr5
      ,t2.opis
      ,t2.vir
      , sys_guid() the_other_column
  from ges_os_tira           t1
      ,zkgji.l1200_zeleznice t2
 where t1.id_upr_fk = t2.id_upr

Tags: Database

Similar Questions

  • Change the default options for a NEW virtual machine in ESXI 5.1

    Hello

    I am looking for a solution change the 'default' options for a new virtual machine created in ESXI 5.1

    I want to have parameters such as 'cpu/memory HOT-add' default to enabled instead of disabled.

    There may be more options to change to a new virtual machine.

    All those who have an option to change the 'default' options for new virtual machines?

    THX

    You can change the/etc/vmware/config of vSphere host file and add the lines mem.hotadd = 'TRUE' and vcpu.hotadd = 'TRUE '.
    The settings then apply to any VM on this host when virtual machines are turned on...

    I just tried this on a 5.1 ESXi host and it seems to work perfectly...

    / Rubeck

  • I changed the my imac with a new drive and I lost the original CD/DVD which came with the new Mac.

    I changed the my imac with a new drive and I lost the original CD/DVD which came with the new Mac.

    and when I go to install the mac lion antiracism apple with reticle logo means error

    what can I do with these

    Please help money

    You can get the replacement system install & Restore CD/DVD of the customer support of Apple - to the United States, (800) 767-2775-for a sum low S & h. you will need to have the model or the serial number of your Mac available.

    If you are not in the United States, you may need to go through the regional Apple Store that serves your location to find the phone number. Here is a list of links to all - http://store.apple.com/Catalog/US/Images/intlstoreroutingpage.html , another resource: International Support Phone #s.

  • How to change the default setting for Australian News & Sport?

    How to change the default setting for Australian News & Sport?

    What setting, probably your browser home page, and how you do that depends on what browser you ar using.

    If using IE opens this page, then click on the "gear" icon to the rt at the top of the page, select Internet Options and look in the general tab

  • How can I change the original position on my new computer Windows 8

    How to change the original location on my new computer.  He thinks that I am in North Carolina and I am in the South.  In fact, all of my electronics do.  Why?

    Original title: location

    Hello

    It is most likely the location of your access provider router\hub your space... I have this problem too, and explained to me the reason for my service provider technician...

  • PowerCLI script needed to change the 9 network adapters to a virtual computer in a single operation

    I got about 30 mV, and I need to change the 9 cards each virtual computer network. The script below takes a while to run, is there a way to speed it up, by changing all the interfaces of a VM in a single operation?

    $VM = "MY_VM_".

    1... 30 | % {

    $VMS = $VM + $_

    Get-vm-name $VMS | Get-NetworkAdapter-name '2 network adapter | Together-NetworkAdapter - NetworkName "blah1" - connected: $true - confirm: $false

    Get-vm-name $VMS | Get-NetworkAdapter-name "Network adapter 3 | Together-NetworkAdapter - NetworkName "blah2" - connected: $true - confirm: $false

    Get-vm-name $VMS | Get-NetworkAdapter-name "NIC 4 | Together-NetworkAdapter - NetworkName "blah3" - connected: $true - confirm: $false

    Get-vm-name $VMS | Get-NetworkAdapter-name "adapter 5 network | Together-NetworkAdapter - NetworkName "blah4" - connected: $true - confirm: $false

    Get-vm-name $VMS | Get-NetworkAdapter-name "NIC 6. Together-NetworkAdapter - NetworkName "blah" - connected: $true - confirm: $false

    Get-vm-name $VMS | Get-NetworkAdapter-name 'network 7 adapter | Together-NetworkAdapter - NetworkName "blah" - connected: $true - confirm: $false

    Get-vm-name $VMS | Get-NetworkAdapter-name '8 network adapter | Together-NetworkAdapter - NetworkName "blah7" - connected: $true - confirm: $false

    Get-vm-name $VMS | Get-NetworkAdapter-name 'network 9 adapter | Together-NetworkAdapter - NetworkName "blah8" - connected: $true - confirm: $false

    Get-vm-name $VMS | Get-NetworkAdapter-name '10 network adapter | Together-NetworkAdapter - NetworkName "blah9" - connected: $true - confirm: $false

    }

    Thank you very much!!. I was able to change the script of LucD work in DVS.

    FINAL VERSION:

    $hash = $null

    $hash = @ {}

    $dvs = get-view (get-VirtualSwitch-name "DVS5.1")

    $dvs. PortGroup | % {Get-View-Id $_} | %{

    $hash.add ($_.) Name, $_. Key)

    }

    # Loop below for all virtual machines

    1... 90 | %{

    $i = $_

    write-host 'tenant = $i'

    $convertTab = @ {}

    "Network adapter 1" = "$1te I".

    "Network adapter 2" = "$2te I".

    'Network adapter 3' = ' $3te I ".

    "Network adapter 4" = "$4te I".

    'Network adapter 5' = ' $5th I ".

    'Network adapter 6' = ' $6te I ".

    'Network adapter 7' = ' $7te I ".

    'Network adapter 8' = ' $8te I ".

    'Network adapter 9' = ' $9te I ".

    'Network adapter 10' = ' $10te I ".

    }

    Notice-EEG - ViewType VirtualMachine-property "Config.Hardware.Device" - filter @{' Name '=' VM-$i - 1 ""} | %{

    $spec = new-Object VMware.Vim.VirtualMachineConfigSpec

    $_. Config.Hardware.Device | where {$_-is [VMware.Vim.VirtualEthernetCard]} | %{

    $dev = new-Object Vmware.Vim.VirtualDeviceConfigSpec

    $dev. Operation = "├editer."

    $dev. Device = $_

    $dev.device.Backing = new-Object VMware.Vim.VirtualEthernetCardDistributedVirtualPortBackingInfo

    $dev.device.backing.port = new-Object VMware.Vim.DistributedVirtualSwitchPortConnection

    $dev.device.backing.port.switchUuid = $dvs. UUID

    $dev.device.backing.port.portgroupKey = $hash [$convertTab [$_.]] DeviceInfo.Label]]

    $spec. DeviceChange += $dev

    }

    $_. ReconfigVM ($spec)

    }

    }

  • How can we change the start-up time in a virtual machine

    I need to update the delay start for my virtual machines so that each time that the virtual machine is under voltage or reset, the boot order to 5000 milliseconds delay.  The default is 0 milliseconds.

    Can someone tell me what command (s) I need to use for this script.  I only meed the correct syntax and I'll be able to write the script to change the default settings on all my VMs currents (I've already updated my model so that the new virtual machines have the value of 5000 milliseconds).

    Any help would be greatly appreciated.

    See you soon

    IMMIAnt

    To set the delay for all your vm is 5,000 milliseconds with PowerCLI you can use:

    $spec = new-Object VMware.Vim.VirtualMachineConfigSpec

    $spec.bootOptions = new-Object VMware.Vim.VirtualMachineBootOptions

    $spec.bootOptions.bootDelay = 5000

    Get - VM | {ForEach-Object

    $_. ExtensionData.ReconfigVM_Task ($spec)

    }

  • How to change the name of VirtualSwitch without running virtual MAchines of braking?

    Does anyone know how to change the name of the virtual switch (used by VM) without braking the VM running in this cluster?

    The best way to do this without losing network connectivity is add a group of ports with the new name and connect the virtual machines to the new group of port and when the initial group of port is empty remove - remember that it's the port group named not the vswitch.

    If you find this or any other answer useful please consider awarding points marking the answer correct or useful

  • An external source, changing the page displayed when a new tab is opened.

    I recently downloaded some freeware and without permission, he installed some malicious programs under the name of My start by Incredibar who hijacked the home page, the new tab page, default search and other functions of Firefox engine.

    The removal of the program itself was a simple task, as it has been disabling and uninstalling the addon that he had installed in Firefox. I thought that everything was back to normal, but when I went to open a new tab start my site appeared rather than the default blank page.

    Will be a relocation without deleting user data to fix this? I prefer not having to pull a full clean reinstall because I have a lot of addons with custom settings and connections.

    Firefox must be closed when you remove the element from the Windows Control Panel. Have you removed items as well ?

    After resetting the subject: config "mystart" elements, Firefox must be restarted for the items to disappear in about: config.

    If you change the items user_pref prefs.js while Firefox is open and there is "mystart" or "incredibar" preferences in about: config, your changes in the prefs.js file will be overwritten.

    Have you tried the add-on I suggested above? https://addons.Mozilla.org/en-us/Firefox/addon/SearchReset/

    You will have to perhaps restore the Firefox default state and start over with a new profile. Read the following and all the links in the following carefully to understand Firefox reset. See - https://support.mozilla.org/en-US/kb/reset-firefox-easily-fix-most-problems

  • How to change the Satellite L670D-103 using new SSD 80 GB HARD drive?

    Hello

    I have a Satellite L670D-103 with a 320 GB HARD drive running at 5400 RPM which is too slow for me.

    So I plan to change this factory by a new SSD HDD to increase the performance of the overall system :)

    But as the SSD are expensive, I have only a 80 GB SSD.

    I built the recovery on a USB media and I want to use it to restore my system to the new SSD (I previously did the space needed to ensure that all data can be stored on my new SSD 80 GB space; p)

    Retrieving SSD partitioning new procedure is done without error, but when copying image to restore data to freshly created the partition, one not enough space error stop the process!

    It seems that the recovery procedure is possible on a hard drive that is equal or superior to the original size of the disk (320 gb).

    So, how can I restore mysystem on my new SSD?

    Thank you
    Stéphane.

    > It seems that the recovery procedure is possible on a hard drive that is equal or superior to the original size of the disk (320 gb)

    To my knowledge, you have different recovery options:

    (* 1) * recovery of factory default software

    (a) recovery to out of box state
    (b) recovery without changing the HARD drive partitions
    (c) recovery of a custom size partition

    (* 2) * "erase the HARD drive.

    I think that if you choose factory default software recovery of-> recovery to out of box state then the recovery would create exactly the same size of partition on the new SSD which were available on the 320 GB HARD drive.
    I think this might be the reason why you have received this message.

    Perhaps you need to choose the 3rd option Recovery on a custom size partition

    What do you think?

  • Change the uuid (bios.uuid) to a virtual computer

    Hello

    I tried to change the UUID of this way:

    var UUIDlog = vcVM.config.uuid;
    System.log("UUID at the moment: " + UUIDlog);
    System.log("UUID to set : " + UUIDnew);
    vcVM.config.uuid = UUIDnew;
    var UUIDcontrol = vcVM.config.uuid;
    System.log("UUID after change: " + UUIDcontrol);
    

    vCO shows the correct value of MB but the VMX file is not updated.


    [17:05:48.923 2015-01-07] [I] UUID at the moment: 564dc846-3c30-b95f-84fc-4d9e168ecd07

    [17:05:48.923 2015-01-07] [I] UUID set: 42286f25-0cfe-4a18-ffd4-79a682663297

    [17:05:48.923 2015-01-07] [I] after change UUID: 42286f25-0cfe-4a18-ffd4-79a682663297


    Someone knows what's the problem?

    Use the script reconfigVM_Task() method. Something like the following code:

    var spec = new VcVirtualMachineConfigSpec();
    spec.uuid =  "..."; // place your new UUID value here
    vm.reconfigVM_Task(spec);
    
  • Changing the cursor for a helping hand in the text and you cannot change the sentence or paragraphs in boxes to listen audio mode

    In Acrobat Reader if you're going to see menu and scroll all the way to ' Read out Loud ' and activate it, you can listen to the texts.  And you can also take the blinking cursor and click on the sentence or paragraph and a box turns around the sentence or paragraph and reads within the selected text.  But in Acrobat DC the cursor flashing in the text box has changed to a f * k * g hand grabber and you stop to select whatever it is!  How can we change back the hand f * k * grabber g in a cursor blinking so I can choose the text I want to listen or to highlight or mark?  Can someone help me on this?

    Hi dales45194090,

    You can change the options to use Select or hand tool under Edit > Preferences > General

    Also, if you have selected "use keys.. accelerators" option, then you can simply press V as the shortcut key for the selection tool.

    Kind regards

    Ana Maria

  • change the IP address of a machine virtual vcenter

    I have a vCenter VM who need to change the IP addresses and the VLAN.

    Someone at - it a method of proof of the ball to achieve?

    I googled a lot of articles that speak to change the IP address of a virtual computer, but not to a VM vCenter.

    Am I missing something here - he is incredibly easy - or is it so obscure that it may be easier to delete it and recreate it in a place where it should reside?

    Thank you.

    Its not too difficult, but there are a few cleaning tasks, you will have to fill out once its address IP has been changed (solve connectivity ESX to your vCentre, fix Update Manager, etc.).  If you have a small, newly Set up virtual infrastructure you can consider recreating your vCentre, but it's probably easier to not do.

    When your vCentre is a virtual machine, make sure that you can connect to your VI Client directly to the ESX which hosts, otherwise you might end up changing IP of the VC and lose access via VI Client/RDP/VNC etc.  In addition, the fact that it is a virtual machine is of little consequence.

    Don't know why you did not find anything via Google, there is a lot out there, see the following resources to help you get started...

    www.Google.com/search?q=change+vCenter+IP+address

    http://KB.VMware.com/kb/1001493

    http://KB.VMware.com/kb/1014639

  • Hello. I created a folder music on my external hard drive connected to my asus router.  I can now access the music through my media library.  How can I change the folder when I make new purchases to iTunes easily without doing it one by one

    I created a folder music on an external hard drive connected to my asus router.  I copied my music from my iTunes library in this folder access and can now my kodi media network.  How I updated the folder when I do new iTunes purchase without having to do it one by one thanks

    You can use a backup tool that updates only modified files.  You don't say what kind of computer you use.

    ITunes is actively using media on the external hard drive so you can replace it. Simply copy the media to one other player does not have iTunes it use it.  iTunes is probably still using media to your internal drive.

  • How to create a new virtual machime of an existing file

    Hello

    I have the virtual machine Windows file server (file virtual disk of Windows Server 2008, Windows Server 2008 configuration,...), I ask is how to create a new virtual machine from this file.

    post vmx file and a list of files

    ___________________________________

    VMX-settings- VMware-liveCD - VM-infirmary

Maybe you are looking for