What’s up with “Last Backup” date?

I have a 10g database running on Redhat and I can never get the Last Backup date to change. I was set by the Oracle default backup and has not changed yet. As you can see the data is 4/17/04.
High Availability
Instance Recovery Time (seconds) 12
Last Backup Apr 17, 2004 2:07:53 AM
Archiving Enabled
Problem Archive Areas 2
Flashback Logging Disabled
When I click on the date link this page shows a more current backup, I think? Any idea what is going on? Is my database backed up?
Results
Select All | Select None
Select Key Tag Completion Time Contents Device Type Status Obsolete Keep Pieces
249 TAG20050330T023107 Mar 30, 2005 2:31:10 AM SPFILE, CONTROLFILE DISK AVAILABLE NO NO 1
248 BACKUP_MAIN.ARGUSR_033005021640 Mar 30, 2005 2:30:53 AM ARCHIVED LOG DISK AVAILABLE NO NO 1
244 BACKUP_MAIN.ARGUSR_033005021640 Mar 30, 2005 2:23:15 AM DATAFILE DISK AVAILABLE NO NO 1

Fraid so .. there are way too many weird things and gotchas with this product.
At this point I would delete the database from oem.
Go into targets, select the db click remove.
After about 10 minutes (or check the Management tab, overview .. verify the deletion was complete.
Go back to the agent tab, click Go to the database prompt for it to rediscover the database.

Similar Messages

  • Automatically read last backup date

    I've noticed that whether or not the Time Machine volume is mounted, the icon in the menu bar displays the last backup date. Is there any way I can read this data from the command line? I found the excellent tms utility (http://fernlightning.com/doku.php?id=software:misc:tms) but it seems to only give the date of last backup if the volume is mounted.
    I'm trying to create a simple script that notifies (via email) me if someone in my office hasn't backed up with Time Machine in over X days. Any help would be much appreciated.

    I'm not sure where it's recorded on the disk when the TM drive is unmounted but you can see it in system log. so if you grep through the log you'll find the record of the last backup. to see just the date the following will do for example
    cat /private/var/log/system.log |grep backup |tail -1 | awk '{print $1" " $2" "$3}'
    However, those logs are periodically recycled and if you don't back up in a while this info will be gone from the current system log and the command will return an empty output. you'd have to deal with that somehow. you could for example run the command periodically with a launch daemon and and store the outcome in a file so long as the outcome is not empty.

  • Vendor with last transaction date

    Hi,
    Can I generate any report which contains all vendors with last transaction date? THis is for audit purpose.
    Thanks & Regards,
    Rajaneesh.C

    Hi,
    You can take the report of the  FI accounting document for all vendors based on the company code and the posting date ( input the present date) in the T code- S_ALR_87012991.
    regards,
    Kannan B

  • Create a listing of reports with last run date and # of times run

    Hi All,
    I want to create a listing of reports with last run date and number of times report is run in the past 18 months.
    If anybody can please help me with the query for the same.
    Regards,
    Sk
    Edited by: user10989244 on Aug 18, 2009 7:12 AM

    Hi Sk
    Assuming you have the collection of statistics enabled, which it is out of the box, you can get the information you need from the EUL5_QPP_STATS table. This script will help:
    SELECT
    QPP.QS_DOC_OWNER WORKBOOK_OWNER,
    QPP.QS_DOC_NAME WORKBOOK_NAME,
    QPP.QS_DOC_DETAILS WORKSHEET_NAME,
    QPP.QS_CREATED_BY RUN_BY,
    TRUNC(MAX(QPP.QS_CREATED_DATE)) LAST_USED_DATE,
    COUNT(QPP.QS_ID) TIMES_USED
    FROM
    EUL5_QPP_STATS QPP
    WHERE
    QPP.QS_CREATED_DATE >= ADD_MONTHS(SYSDATE, -18)
    GROUP BY
    QPP.QS_DOC_OWNER,
    QPP.QS_DOC_NAME,
    QPP.QS_CREATED_BY,
    QPP.QS_DOC_DETAILS
    ORDER BY 1,2,3;
    Best wishes
    Michael

  • Item details with Last Transaction Date ?

    Hi,
    Please help someone to fine tune this query :-
    Select ILLITM,ILDOC, ILDCT, ILTRDJ
    FROM CRPDTA.F4111
    where ILTRDJ in (Select max(ILTRDJ) FROM CRPDTA.F4111);
    The above query is returning the latest transaction date with Item details.
    But expected output is: Every Item with last transactional date.
    Hope I am clear on the above requirement please.
    Thanks in advance.
    RAM

    you can use table alias for this
    Select ILLITM,ILDOC, ILDCT, ILTRDJ
    FROM CRPDTA.F4111 tab1
    where tab1.ILTRDJ in (Select max(tab2.ILTRDJ) FROM CRPDTA.F4111 tab2);
    or if you are using this query inside any PL-SQL block , you can use a variable to hold max(ILTRDJ) and then use this variable in query.

  • Last backup date blank

    Even though my Time Machine appears to be working, the Last Backup date is blank both in the menu bar status and in System Preferences. How do I correct this?

    I'm not sure where that's stored, but it may be in the preference file.
    Stop TM, de-select your TM drive (select "none"), note any exclusions in Options and quit System Preferences.
    Trash the file /Libarary/Preferences/com.apple.TimeMachine.plist (not in your home folder).
    Go back to TM Preferences, re-select your TM drive, re-enter any exclusions, turn TM back on (and perhaps do a +Back Up Now.)+

  • Time Machine shows no last backup date or oldest backup date

    Hi,
    Sorry for the long title and if this question has already been posted, a search didn't show it up. I'm running leopard 10.5.6 on my iMac 2.4ghz intel, and the time machine icon in the menu bar has stopped showing the date of the last backup and when I check in sys pref no date info is shown for the most recent of the oldest.
    Anyone have any idea how to cure this.
    Thanks.
    Jez.

    I have been using TM for about a month with a new LaCie d2 Quadra. I do not know how this is calibrated for dates. When I activate TM it shows today. For anything back from there it dates everything January 17, 2009 6:45 PMCDT until it goes back to February. In the spot indicating the latest backup it is Jan 17 09 6:45 PMCDT for today. What do you think is responsible for time and date being the same and the actual backups are dated with the wrong date going back until clicking back in time it's the Jan. date until March 20,2009 January 17,2009 6:45 AMCDT. I tried the com.apple.TimeMachine.plist idea. No change.

  • Your iPhone cannot be restored because there is a problem with your backup data. Choose a different backup to restore from.

    I was receiving this error while trying to restore my new iphone 5 from my iphone 4s backup file over the icloud.
    I finally figured out the solution after HOURS of working with both ATT and Apple.  Both were as helpful as possible and after speaking to an Apple Sr Tech we discovered I received this error because my backup file was corrupt.
    His suggestion was an obvious suggestion of deleting this backup file and recreating the backup.  So I deleted the backup and began to recreate the backup on my 4s (now I was lucky in that I was upgrading my other line and still had my 4s available to me to play with), during mid backup my backup would stop and have at the bottom of the screen that the backup wasnt complete (and also that "Last Backup: Never") even though I could see backup data was saved.  This was the same problem I had initially, not having a complete backup for my iphone 5 to restore from (Your phone will not restore without a complete backup file).
    I did some further research and found that because I had the FACEBOOK app on my previous iOS5 and upgraded to iOS6 (iphone 4s) it for wahtever reason would cause the backups to become corrupt or incomplete.  So I deleted the FACEBOOK app from my 4s and reset the phone, after I started it back up I deleted the incomplete backup file again for my 4s and then began the backup once again.  This time the backup completed perfectly and I was able to now go to my iphone 5 and restore all my apps, etc.
    Hope this helps someone else!

    baffronti youre a freaking genius!!!  Thank you so much for saving me hours of troubleshooting, talking on the phone, and googling and reading all night.  You da mann!!!  **** Facebook

  • Last Backup Date doesn't change

    Since installing BB Desktop 6 (including the beta), my last desktop date has never changed from my initial install date (7/26/10 @ 5:25 pm).
    I had hoped the release version would solve this.  I back up daily, but the date does not change on the DM6 "home screen".  I have verified that the back-ups are in the correct path and are valid back up files (I can restore data).
    I have searched through the registry and various RIM files in the users/appdata, program files/common files directories, but see no file that is obviously the source of the date fed to DM on start-up.
    I tried a repair install.  No dice.
    My install was an upgrade from 5.0.1, and I didn't wipe and reinstall because I didn't want to lose my add-in sync and custom filter options.  In DM5, I had weekly back-up set and it worked like clockwork...although I couldn't see the date, it was obviously keeping track...now if I set to weekly, it attempts to back up whenever I connect because it thinks it is 2 weeks late.
    If this is the worse issue I have with DM6, so be it...just annoying more than anything else...
    Also...I installed on 2 other PCs (3 total)...the issue is only present on the 1 PC.

    In the case of the Browser Data Cace that one is really easy to get rid of. 
    Start Desktop Software 6
    Attach your BB
    Wait for, or cancel the sync / backup
    Click Device
    Click Delete Device Data
    Change the radio button from "All data" (Why is that the default?) to "Selected data"
    Scroll down to "Browser Data Cache" and check it.
    Uncheck the "Back up data" box, since you are unable to backup this database anyway...
    Click Delete
    When asked to confirm the deletion, click "Ok"
    You shoudl see a progress bar and the message "Deleting Browser Data Cache"
    Once it completes, you will get a dialog that says "Your data has been deleted", click close.
    That shoudl return the browser data cache to a clean state and eliminate the problem.   I'm not sure if the same procedure will work on your profile database or not.  I know in my case when the profile database gets corrupted, I end up restoring it from a backup before the corruption, and it ends up being fine again for a long time.
    John Wohlers

  • File names with last changed Date and time in a directory

    Hi All.
    I need to get all filename, last changed date, last changed time in a directory. Is there any function module for this?
    Regards,
    Venkat.

    hi,
    if the directory is in any application server try to use this code
    >  DATA: wa_file TYPE zdpp_file_read.
    >  DATA: nomefile(75).
    >  DATA: ext_chek(3).
    >DATA: BEGIN OF wa_file,
    >        dirname     TYPE DIRNAME_AL11, " name of directory
    >        name        TYPE FILENAME_AL11," name of entry
    >        type(10)    TYPE c,            " type of entry.
    >        len(8)      TYPE p,            " length in bytes.
    >        owner(8)    TYPE c,            " owner of the entry.
    >        mtime(6)    TYPE p,            " last mod.date, sec since 1970
    >        mode(9)     TYPE c,            " like "rwx-r-x--x": prot. mode
    >        useable(1)  TYPE c,
    >        subrc(4)    TYPE c,
    >        errno(3)    TYPE c,
    >        errmsg(40)  TYPE c,
    >        mod_date    TYPE d,
    >        mod_time(8) TYPE c,            " hh:mm:ss
    >        seen(1)     TYPE c,
    >        changed(1)  TYPE c,
    >      END OF file.
    >  data: files like wa_file occurs 0 with header line.
    >
    >  CALL FUNCTION 'FILE_GET_NAME'
    >       EXPORTING
    >            client           = sy-mandt
    >            logical_filename = logpath
    >            operating_system = sy-opsys
    >       IMPORTING
    >            file_name        = path
    >       EXCEPTIONS
    >            file_not_found   = 1
    >            OTHERS           = 2.
    >  IF sy-subrc <> 0.
    >    RAISE file_not_found.
    >  ENDIF.
    >
    >  DATA: last_path TYPE i.
    >  DO.
    >    last_path = strlen( path ).
    >    last_path = last_path - 1.
    >    IF pathlast_path(1) = '/' or pathlast_path(1) = '\'.
    >      EXIT.
    >    ELSE.
    >      CLEAR path+last_path(1).
    >    ENDIF.
    >  ENDDO.
    >
    >  MOVE extension TO ext_chek.
    >  TRANSLATE ext_chek TO UPPER CASE.
    >  nomefile = '*'.
    >
    >  CALL 'C_DIR_READ_FINISH'
    >      ID 'ERRNO'  FIELD wa_file-errno
    >      ID 'ERRMSG' FIELD wa_file-errmsg.
    >
    >  CALL 'C_DIR_READ_START' ID 'DIR'    FIELD path
    >                          ID 'FILE'   FIELD nomefile
    >                          ID 'ERRNO'  FIELD wa_file-errno
    >                          ID 'ERRMSG' FIELD wa_file-errmsg.
    >  IF sy-subrc <> 0.
    >    RAISE wrong_directory.
    >  ELSE.
    >
    >    DO.
    >      CLEAR wa_file.
    >
    >      CALL 'C_DIR_READ_NEXT'
    >        ID 'TYPE'   FIELD wa_file-type
    >        ID 'NAME'   FIELD wa_file-name
    >        ID 'MTIME'  FIELD wa_file-mtime
    >        ID 'ERRNO'  FIELD wa_file-errno
    >        ID 'ERRMSG' FIELD wa_file-errmsg.
    >      IF sy-subrc <> 0.
    >        EXIT.
    >      ENDIF.
    >
    >        PERFORM p6_to_date_time_tz(rstr0400) USING wa_file-mtime
    >                                                   wa_file-mod_time
    >                                                   wa_file-mod_date.
    >      MOVE path TO wa_file-dirname.
    >      APPEND wa_file TO files.
    >    ENDDO.
    >  ENDIF.
    >
    >  CALL 'C_DIR_READ_FINISH'
    >      ID 'ERRNO'  FIELD wa_file-errno
    >      ID 'ERRMSG' FIELD wa_file-errmsg.
    bye,
    marco

  • What's wrong with my mobile data network?

    I've had this 2nd hand iPhone 4 for almost 2 months and everything has been working perfectly until today. I was using viber and sending messages to my friends and it suddenly stopped working and i have no idea why, i thought i just lost my 3G for a while so i waited a few hours for it to come back up, this started around 3pm and it's 12am right now and it's still not working... Everything else worked such as skype, twitter and the internet but for some reason i couldnt send and receive messages on viber and imessage. I also didn't get any notifications from ANYTHING during the whole time until i connected to my wi-fi at home which i then got flooded with messages, tweets and etc.
    I think that theres something wrong with my mobile data network and i dont really know what it is since everything was working fine this afternoon and it just suddenly stopped? Connecting to Wi-fi makes everything work fine and i actually receive notifications and am able to send and receive messages to my friends on viber and imessage.
    Can anyone help me?
    My carrier is CSL and it has unlimited data if anyone n

    I havent contacted my carrier and i really dont think they will be able to help since i go to them every month to pay my phone bill and they can barely speak english...
    I've turned my phone on and off 3 times and ive also reseted my network settings

  • Powershell / SQL Inventory and last backup date Skips some servers?

    Good Morning experts... I have a text file with a list of servers.. I am trying to automate a script that scans through them all and checks all databases to ensure everything is getting backed up... It works great (I copied the guts of the script from here,
    I think and modified it so I could "Learn").  The only problem I have is some of the servers report an error saying can not connect and bypasses it.  After the script is over, I can go back and query that single server and it responds correctly..
    Has anyone else come across anything like that?  I will include the script I have been using.. if you had 100+ servers to support with MULTIPLE instances on each how would you do it?
    <#####################################################################
    # Get All instances and Date of last Full / Log Backup of each
    ######################################################################>
    #region Variables
    $TextFileLocation = "C:\serverlist.txt"
    $intRow = 1
    $BackgroundColor = 36
    $FontColor = 25
    #endregion
    #Region Open Excel
    $Excel = New-Object -ComObject Excel.Application
    $Excel.visible = $True
    $Excel = $Excel.Workbooks.Add()
    $Sheet = $Excel.Worksheets.Item(1)
    #endregion
    #Go through text file one at a time
    foreach($instance in Get-Content $TextFileLocation)
    $Sheet.Cells.Item($intRow,1) = "INSTANCE NAME:"
    $Sheet.Cells.Item($intRow,2) = $instance
    $Sheet.Cells.Item($intRow,1).Font.Bold = $True
    $Sheet.Cells.Item($intRow,2).Font.Bold = $True
    for ($column =1; $column -le 2; $column++)
    $Sheet.Cells.Item($intRow, $column).Interior.Colorindex = 44
    $Sheet.Cells.Item($intRow, $column).Font.ColorIndex = $FontColor
    #Increase Row count by 1
    $intRow++
    #Create sub-headers
    $Sheet.Cells.Item($intRow,1) = "Name"
    $Sheet.Cells.Item($intRow,2) = "LAST FULL BACKUP"
    $Sheet.Cells.Item($intRow,3) = "LAST LOG BACKUP"
    #Format the column headers
    for ($col = 1; $col -le 3; $col++)
    $Sheet.Cells.Item($intRow,$col).Font.Bold = $True
    $Sheet.Cells.Item($intRow,$col).Interior.ColorIndex = $BackgroundColor
    $Sheet.Cells.Item($intRow,$col).Font.ColorIndex = $FontColor
    #Finished with Headers, now move to the data
    $intRow++
    [System.Reflection.Assembly]::LoadWithPartialName('Microsoft.SqlServer.SMO') | Out-Null
    # Create an SMO connection to the instance in servers.txt
    $s = New-Object ('Microsoft.SqlServer.Management.Smo.Server') $instance
    $dbs = $s.Databases
    foreach ($db in $dbs)
    if ($db.Name -ne "tempdb")
    if($db.LastBackupDate -eq "1/1/0001 12:00 AM")
    $fullbackupdate = "Never Backed Up"
    $fgColor = "red"
    else
    #$fullBackupDate= "{0:g2}" -f $db.LastBackupDate
    $fullBackupDate = $db.LastBackupDate
    $Sheet.Cells.Item($intRow, 1) = $db.Name
    $Sheet.Cells.Item($intRow, 2) = $db.LastBackupDate #$fullBackupDate
    if ($db.RecoveryModel.Tostring() -eq "SIMPLE")
    $logBackupDate="Simple"
    else
    #See Date Above..-eq is same as =
    if($db.LastLogBackupDate -eq "1/1/0001 12:00 AM")
    $logBackupDate="Never"
    else
    #$logBackupDate= "{0:g2}" -f $db.LastLogBackupDate
    $logBackupDate = $db.LastLogBackupDate
    $Sheet.Cells.Item($intRow, 3) = $logBackupdate
    $intRow ++
    $intRow ++
    $Sheet.UsedRange.EntireColumn.AutoFit()
    cls
    Am I going about this the correct way, or is there a "Better" way to do this that I have not come across yet?
    Thank you

    Sorry JRV... I will put more of an example here.
    I want to do an inventory of all our our instances and verify if they are being backed up correctly, I just wrote a script to test:
    $TextFileLocation = "C:\servers.txt"
    foreach($instance in get-content $TextFileLocation)
    [System.Reflection.Assembly]::LoadWithPartialName('Microsoft.SqlServer.SMO') | Out-Null
    $s = New-Object ("Microsoft.SqlServer.Management.SMO.Server") $instance
    $dbs = $s.Databases
    foreach($db in $dbs)
    $location = $db.Name
    $logBackupDate = $db.LastLogBackupDate
    if($db.RecoveryModel.Tostring() -eq "SIMPLE")
    Write-host "$s - $location - SIMPLE Recovery"
    elseif($db.RecoveryModel.ToString() -ne "SIMPLE")
    Write-Host "$s - $location - $logBackupDate"
    output is expected, and everything works fine... But some servers I get the following error:
    PS K:\MyScripts\powershell> . 'C:\Users\scj0025\AppData\Local\Temp\Untitled30.ps1'
    foreach : The following exception was thrown when trying to enumerate the collection: "Failed to connect to server poly04406.".
    At C:\Users\scj0025\AppData\Local\Temp\Untitled30.ps1:9 char:8
    + foreach <<<< ($db in $dbs)
        + CategoryInfo          : NotSpecified: (:) [], ExtendedTypeSystemException
        + FullyQualifiedErrorId : ExceptionInGetEnumerator
    If I go to another script and look at the same server, I get the results I expect:
    Function Get-SQLInstance {  
    <#
    .SYNOPSIS
    Retrieves SQL server information from a local or remote servers.
    .DESCRIPTION
    Retrieves SQL server information from a local or remote servers. Pulls all
    instances from a SQL server and detects if in a cluster or not.
    .PARAMETER Computername
    Local or remote systems to query for SQL information.
    .NOTES
    Name: Get-SQLInstance
    Author: Boe Prox
    DateCreated: 07 SEPT 2013
    .EXAMPLE
    Get-SQLInstance -Computername DC1
    SQLInstance : MSSQLSERVER
    Version : 10.0.1600.22
    isCluster : False
    Computername : DC1
    FullName : DC1
    isClusterNode : False
    Edition : Enterprise Edition
    ClusterName :
    ClusterNodes : {}
    Caption : SQL Server 2008
    SQLInstance : MINASTIRITH
    Version : 10.0.1600.22
    isCluster : False
    Computername : DC1
    FullName : DC1\MINASTIRITH
    isClusterNode : False
    Edition : Enterprise Edition
    ClusterName :
    ClusterNodes : {}
    Caption : SQL Server 2008
    Description
    Retrieves the SQL information from DC1
    #>
    [cmdletbinding()] 
    Param (
    [parameter(ValueFromPipeline=$True,ValueFromPipelineByPropertyName=$True)]
    [Alias('__Server','DNSHostName','IPAddress')]
    #[string[]]$ComputerName = Get-Host "C:\serverlist.txt"
    [string[]]$ComputerName = $env:COMPUTERNAME
    Process {
    ForEach ($Computer in $Computername) {
    $Computer = $computer -replace '(.*?)\..+','$1'
    Write-Verbose ("Checking {0}" -f $Computer)
    Try {
    $reg = [Microsoft.Win32.RegistryKey]::OpenRemoteBaseKey('LocalMachine', $Computer)
    $baseKeys = "SOFTWARE\\Microsoft\\Microsoft SQL Server",
    "SOFTWARE\\Wow6432Node\\Microsoft\\Microsoft SQL Server"
    If ($reg.OpenSubKey($basekeys[0])) {
    $regPath = $basekeys[0]
    } ElseIf ($reg.OpenSubKey($basekeys[1])) {
    $regPath = $basekeys[1]
    } Else {
    Continue
    $regKey= $reg.OpenSubKey("$regPath")
    If ($regKey.GetSubKeyNames() -contains "Instance Names") {
    $regKey= $reg.OpenSubKey("$regpath\\Instance Names\\SQL" )
    $instances = @($regkey.GetValueNames())
    } ElseIf ($regKey.GetValueNames() -contains 'InstalledInstances') {
    $isCluster = $False
    $instances = $regKey.GetValue('InstalledInstances')
    } Else {
    Continue
    If ($instances.count -gt 0) {
    ForEach ($instance in $instances) {
    $nodes = New-Object System.Collections.Arraylist
    $clusterName = $Null
    $isCluster = $False
    $instanceValue = $regKey.GetValue($instance)
    $instanceReg = $reg.OpenSubKey("$regpath\\$instanceValue")
    If ($instanceReg.GetSubKeyNames() -contains "Cluster") {
    $isCluster = $True
    $instanceRegCluster = $instanceReg.OpenSubKey('Cluster')
    $clusterName = $instanceRegCluster.GetValue('ClusterName')
    $clusterReg = $reg.OpenSubKey("Cluster\\Nodes")
    $clusterReg.GetSubKeyNames() | ForEach {
    $null = $nodes.Add($clusterReg.OpenSubKey($_).GetValue('NodeName'))
    $instanceRegSetup = $instanceReg.OpenSubKey("Setup")
    Try {
    $edition = $instanceRegSetup.GetValue('Edition')
    } Catch {
    $edition = $Null
    Try {
    $ErrorActionPreference = 'Stop'
    #Get from filename to determine version
    $servicesReg = $reg.OpenSubKey("SYSTEM\\CurrentControlSet\\Services")
    $serviceKey = $servicesReg.GetSubKeyNames() | Where {
    $_ -match "$instance"
    } | Select -First 1
    $service = $servicesReg.OpenSubKey($serviceKey).GetValue('ImagePath')
    $file = $service -replace '^.*(\w:\\.*\\sqlservr.exe).*','$1'
    $version = (Get-Item ("\\$Computer\$($file -replace ":","$")")).VersionInfo.ProductVersion
    } Catch {
    #Use potentially less accurate version from registry
    $Version = $instanceRegSetup.GetValue('Version')
    } Finally {
    $ErrorActionPreference = 'Continue'
    New-Object PSObject -Property @{
    Computername = $Computer
    SQLInstance = $instance
    Edition = $edition
    Version = $version
    Caption = {Switch -Regex ($version) {
    "^11" {'SQL Server 2012';Break}
    "^10\.5" {'SQL Server 2008 R2';Break}
    "^10" {'SQL Server 2008';Break}
    "^9" {'SQL Server 2005';Break}
    "^8" {'SQL Server 2000';Break}
    Default {'Unknown'}
    }}.InvokeReturnAsIs()
    isCluster = $isCluster
    isClusterNode = ($nodes -contains $Computer)
    ClusterName = $clusterName
    ClusterNodes = ($nodes -ne $Computer)
    FullName = {
    If ($Instance -eq 'MSSQLSERVER') {
    $Computer
    } Else {
    "$($Computer)\$($instance)"
    }.InvokeReturnAsIs()
    } Catch {
    Write-Warning ("{0}: {1}" -f $Computer,$_.Exception.Message)
    When I run this command, I get:
    PS C:\Users\scj0025\Documents> Get-SQLInstance -ComputerName poly04406
    SQLInstance   : SQL642K5_01
    Version       : 9.2.3042.00
    isCluster     : False
    Computername  : poly04406
    FullName      : poly04406\SQL642K5_01
    isClusterNode : False
    Edition       : Enterprise Edition (64-bit)
    ClusterName   : 
    ClusterNodes  : {}
    Caption       : SQL Server 2005
    SQLInstance   : CONSQL2K8
    Version       : 10.0.2531.0
    isCluster     : False
    Computername  : poly04406
    FullName      : poly04406\CONSQL2K8
    isClusterNode : False
    Edition       : Enterprise Edition
    ClusterName   : 
    ClusterNodes  : {}
    Caption       : SQL Server 2008
    I notice to get this information the get-sqlinstance script is looking at the registry.. is that the "Better" way to get an accurate list of this?
    (I understand they are looking for different things, but why wont the first script pick up the different instances on the server, I wonder...)

  • What is up with the excessive data usage with 5s

    I just updated from a 4 to a 5s. My data usage has always been under 500MB. The data usage has exploded to almost 2G in the last two days since the upgrade. What the heck is going on with that????!!!!

    Faster bandwidth equals higher quality graphics and video resolutions.
    Check your cellular data settings and see which applications are using the most data.

  • What's wrong with java.util.Date type?

    Hi!
    When I try to persist object having field of type java.util.Date I get the
    following SQL logged by Kodo with subsequent transaction rollback:
    2002-11-14 15:03:35,099 INFO
    [com.solarmetric.kodo.impl.jdbc.ee.ManagedConnecti
    onFactoryImpl.supportcrm/kodo] INSERT INTO BILLY.TT_COMMENTS(COMMENT_TYPE,
    TEXT,
    CREATED_BY, ID, SUBJECT, CREATE_DATE, TT_MAIN_ID) VALUES (1, '1', 10, 279,
    '1',
    {ts '2002-11-14 15:03:35.059'}, 147)
    When I change "{ts '2002-11-14 15:03:35.059'}" with "TO_DATE('2002-11-14
    15:03', 'YYYY-DD-MM HH24:MI')" in SQL editor
    and execute it everything works fine.
    What does "{ts '..'}" mean? Is it a SQL generation error?
    Thank you in advance.
    Best regards,
    Alexey Maslov

    I've created my own dictionary with dateToSQL() method overridden.
    Now it works fine. But it's a kind of strange. Oracle is used often and my
    JDBC drivers
    are the most recent (at least, from the oracle.com).
    Anyway, thank you again.
    "Alexey Maslov" <[email protected]> wrote in message
    news:[email protected]...
    Patric,
    Thank you for response.
    We're using Oracle 8.1.7 via OCI driver from Oracle 9.2.
    I've already tried 2.4.0 and it works fine there but I've found another
    problem there
    preventing me from using it. See my post in solarmetric.kodo.betanewsgroup.
    >
    "Patrick Linskey" <[email protected]> wrote in message
    news:[email protected]...
    That's odd -- what version of Oracle are you using?
    Moving to Kodo JDO 2.4.0
    (http://www.solarmetric.com/Software/beta/2.4.0) will almost certainly
    get rid of this problem, as we use exclusively prepared statements in
    it, and therefore pass dates etc. to JDBC as parameters.
    But, to get things working with your Oracle database and Kodo JDO 2.3,
    you could create your own extension of OracleDictionary and override the
    dateToSQL() method to generate the appropriate TO_DATE() syntax. See our
    documentation for more details on creating custom database dictionaries.
    -Patrick
    Alexey Maslov wrote:
    I've added TRACE level logging for transactions in JBoss and got
    original
    exception:
    NestedThrowables:
    com.solarmetric.kodo.impl.jdbc.sql.SQLExceptionWrapper: [SQL=INSERT
    INTO
    BILLY.T
    T_MAIN(TT_SOLUTION_ID, DELAY_REASON, TT_STATE_ID, ID, CONTACT_PHONE,
    CANCEL_REAS
    ON, OPER_DESCR, TT_TYPE_ID, CREATED_BY, EXP_CLOSE_DATE,SERV_OPEN_DATE,
    OPEN_DAT
    E, FLAGS, TAKEN_BY, TT_CAT_ID, SUBJECT_ID, SUBJECT, SERV_CLOSE_DATE)
    VALUES
    (NUL
    L, NULL, 1, 439, NULL, NULL, '____________ ________________ ________________', 7, 5, {ts
    '2002-11-14 1
    8:38:16.075'}, NULL, {ts '2002-11-14 18:18:16.075'}, 0, NULL, 11,24099,
    '1', NU
    LL)] ORA-00904: invalid column name
    at
    com.solarmetric.kodo.impl.jdbc.runtime.SQLExceptions.throwFatal(SQLEx
    ceptions.java:17)
    at
    com.solarmetric.kodo.impl.jdbc.runtime.JDBCStoreManager.insert(JDBCSt
    oreManager.java:421)
    at
    com.solarmetric.kodo.runtime.datacache.DataCacheStoreManager.insert(D
    ataCacheStoreManager.java:265)
    at
    com.solarmetric.kodo.runtime.StateManagerImpl.insert(StateManagerImpl
    ..java:1783)
    atcom.solarmetric.kodo.runtime.PNewState.flush(PNewState.java:31)
    at
    com.solarmetric.kodo.runtime.StateManagerImpl.flush(StateManagerImpl.
    java:372)
    at
    com.solarmetric.kodo.runtime.PersistenceManagerImpl.flush(Persistence
    ManagerImpl.java:426)
    at
    com.solarmetric.kodo.ee.EEPersistenceManager.beforeCompletion(EEPersi
    But when I try to execute the statement above against the database
    manually
    everything works fine.
    I'm absolutely desperate!
    P.S. On 2.4.0 RC the operation invoking this database insert completes
    fine.
    "Alexey Maslov" wrote in message
    news:[email protected]...
    Hi!
    When I try to persist object having field of type java.util.Date I
    get
    the
    following SQL logged by Kodo with subsequent transaction rollback:
    2002-11-14 15:03:35,099 INFO
    [com.solarmetric.kodo.impl.jdbc.ee.ManagedConnecti
    onFactoryImpl.supportcrm/kodo] INSERT INTOBILLY.TT_COMMENTS(COMMENT_TYPE,
    TEXT,
    CREATED_BY, ID, SUBJECT, CREATE_DATE, TT_MAIN_ID) VALUES (1, '1',
    10,
    >>>
    279,
    '1',
    {ts '2002-11-14 15:03:35.059'}, 147)
    When I change "{ts '2002-11-14 15:03:35.059'}" with
    "TO_DATE('2002-11-14
    15:03', 'YYYY-DD-MM HH24:MI')" in SQL editor
    and execute it everything works fine.
    What does "{ts '..'}" mean? Is it a SQL generation error?
    Thank you in advance.
    Best regards,
    Alexey Maslov
    Patrick Linskey [email protected]
    SolarMetric Inc. http://www.solarmetric.com
    Best regards,
    Alexey Maslov

  • I need help making tables with all my data. What to do with all my Data?

    Hello All,
    Here is the scenario. I have about 10 columns of data. It has Name of Item. Price sold, Shipping Cost, Address and others.
    I want to group all the same items into a separate table with its own totals. There is 100 different items, So i need to split is several tables. Any idea on how to do this? Can It be done in Numbers?

    A variation to Jerry's suggestion:
    You are inquiring about creating 100 tables that produce summaries, 1 for each item. Jerry suggests a single table showing only a summary of your 100 items. This has potential. If you want to see the individual lines displayed above each summary, you may be able to use your original table. This process, however, involves a little work. But it's not unreasonable and may satisfy your needs.
    In your original table create a new line for each item. These lines are basically blank except for the item name and whatever columns you want to summarize. Enter the item names on these lines but follow them with the word " Total". When you sort on the Item column these lines will appear as the last of each item. Then place the SUMIF function in the proper column to obtain your summary.
    pw

Maybe you are looking for