Date of master db

This is related to an earlier post of mine:
http://social.msdn.microsoft.com/Forums/sqlserver/en-US/2763c8f2-493f-45bf-b141-75af3e7fdfdd/restore-master?forum=sqlsecurity#154c40bf-95c5-4f2b-9840-1d31a93ecfec
We're seeing some odd results when we restore a master backup from the end of July.  When we look at the master restored from October we see a user that was created on 7/12.  Yet when we restore master from 7/27, the user with a 7/12 create date
isn't showing up.  Is there anything I can do to get an internal date of master?  The backup is timestamped down to the ms so we're quite sure it's really from the end of July.  When I run "select @@servername" and it shows the
name of the server where the backup is from, so we're convinced it's the correct backup.  But we can't make sense out of the fact that our 7/27 backup doesn't show the 7/12 user. Something maybe like "SELECT SERVERPROPERTY('ResourceLastUpdateDateTime');"? 
But from what I've read, the Resource info is not stored in master so that's probably not a good query.  If there is any way to tell what date my master is from I'd really appreciate knowing how to tell.
Thanks again, Andre
André

One additional question; Does DatabaseCreationDate change?  I'm asking because of the 4 backups I'm looking at, all 4 have a different DBCreationDate.  This is from Production, which hasn't changed in a couple of years.
I don't see this documented, but the DatabaseCreatetionDate for the master system database in the backup header apparently reflects the timestamp the instance was started.  It is the actual database create timestamp for user databases.
Dan Guzman, SQL Server MVP, http://www.dbdelta.com

Similar Messages

  • Unrelated data in master detail sections of a custom BIP  report deployed in R12 EBS

    We have a custom Master Detail BIP report generated by calling XDO APIs from a custom Java concurrent program (common_report_attachment) . This Java concurrent program is called from another custom concurrent program (po_validation) that processes a batch of POs in a single concurrent request.
    PO_Validation Program (processes a batch of POs per request) -> Java Concurrent Program -> BI Publisher Report APIs
    BIP report generates data for master detail sections based on two sql queries (given below) that have 'where' clause based on a common external parameter "P_TRX_HDR_ID".
    NOTE: No explicit data link is used NOR an output column of parent query is used in the where clause of detail query as bind parameter.
    - <dataTemplate name="NAPPB2BPORPT" description="Data Template for B2B PO Report" version="1.0">
    - <properties>
      <property name="xml_tag_case" value="upper" />
      <property name="db_fetch_size" value="200" />
      <property name="scalable_mode" value="on" />
      </properties>
    - <parameters>
      <parameter name="P_TRX_HDR_ID" dataType="number" />
      </parameters>
    - <dataQuery>
    - <sqlStatement name="Q_PO_HDR">
    - <![CDATA[
    SELECT poh.po_number                                     PO_NUMBER
              , poh.quote_number                             QUOTE_NUMBER
              ---- other columns -----
             FROM nappcust.napp_o2i_po_headers poh
                ,napp_aso_quote_headers_v naqv
               WHERE 1=1
               AND naqv.quote_number=poh.quote_number
               AND poh.header_id = :P_TRX_HDR_ID
      ]]>
      </sqlStatement>
    - <sqlStatement name="Q_LINES">
    - <![CDATA[
    SELECT  pol.item                                            ITEM
          , pol.partner_part_number                             PARTNER_PART_NUMBER
          -- other columns --
       FROM napp_o2i_po_lines pol
       , napp_o2i_po_headers poh
       , aso_quote_lines_all aqla
       , mtl_system_items_b msib
    WHERE 1=1
      AND poh.header_id               = pol.header_id
      AND pol.header_id               = :P_TRX_HDR_ID
      AND aqla.quote_header_id        = poh.QUOTE_HEADER_ID
      AND msib.inventory_item_id      = aqla.inventory_item_id
      AND msib.organization_id        = aqla.organization_id
      AND (pol.quote_line_number       = aqla.quote_line_id
           OR pol.quote_line_number    = aqla.quote_line_id||1)
      ]]>
      -- Added for the defect 13954
      </sqlStatement>
      </dataQuery>
    - <dataStructure>
    - <group name="G_PO_HDR" source="Q_PO_HDR">
      <element name="PO_NUMBER" value="PO_NUMBER" />
      <element name="QUOTE_NUMBER" value="QUOTE_NUMBER" />
      --- mappings for other columns of "Q_PO_HDR"
      - <group name="G_LINES" source="Q_LINES">
      <element name="ITEM" value="ITEM" />
      <element name="PARTNER_PART_NUMBER" value="PARTNER_PART_NUMBER" />
        --- mappings for other columns of "Q_LINES"
      </group>
      </group>
      </dataStructure>
      </dataTemplate>
    Issue: Sometimes when the parent concurrent request runs for a batch with multiple POs the report generated for the last PO has inconsistent data in the master and detail sections. To elaborate, the detail section is having correct data pertaining to the PO identified by the parameter "P_TRX_HDR_ID". However, the master section is having data pertaining to the previous PO processed from the same batch.
    This issue is not occurring consistently and is not reproducible at will. I
    'm suspecting this could be because of not having data link between the queries but confirm from someone who has experienced this issue.
    Regards,
    Srinath

    is there any way from the page, can we pass the some values, which can identify the page level data?
    if so pass the parameter to BIP report query.

  • Need more Info about "Load transactional data when master data not loaded"

    Hi,
    Can you please explain me this option in the infopackage " Load transactional data when master data is not loaded"....
    Say i load a transactional data record which has a material no. AAAXX.
    In the fact table, the material no. is replaced with the corresp. DIM ID.
    Now, assume that there is no entry for this Material no.
    AAAXX in the master data table...so no DIM ID for it..
    How is it then stored in the fact table ?
    Hope i have managed to explain the scenario..
    Thanks in advance,
    Punkuj

    Hello Punkuj K,
    How r u ?
    No, if the entry for that Material Number "AAAXX" is not there in the Master Data then it will create a SIDs & DIMs ID for that & Transaction Data will be loaded.
    Use
    Choose this indicator if you want to always update the data, even if no master data for the navigation attributes of the loaded records exists. The master data is generated from the loaded transaction data. The system draws SIDs. You can subsequently load the master data.
    Dependencies
    The texts, attributes, and hierarchies are not recognized by the system. Load the texts / attributes / hierarchies for the corresponding InfoObjects separately.
    This function corresponds to the update. Possible errors when reading the master data into the update rules are not associated with this indicator.
    Recommendation
    We recommended loading the master data into the productive systems in advance. Select this indicator especially in test systems.
    Best Regards....
    Sankar Kumar
    +91 98403 47141

  • MM42 data (Article master) Mass change BAPI????????

    Hi All,
    Is there any BAPI exist which can be used to change MM42 data (Article master).
    Like requirement is to do mass change in article, but the MM42 BDC is taking too long to change in all Articles.
    Any help for BAPI name will be appreciated.
    Regards

    use this function MATERIAL_MAINTAIN_DARK_RETAIL

  • Is there any way we can set default value for a Date Attribute to current date in Master Data Services

    Is there any way we can set default value for a Date Attribute to current date in Master Data Services.
    I as well wants to know that is there any posibility to show Calendar control while input data into respective date attributes.
    Thanks.

    Hi Anagha,
    So far i havent found any way to set todays date by default from MMI, but i guess this flow should work as workaroud
    1. Add buisness rule which can set a default value when Date = NULL/Blank
    2.get the entity table ,use -select EntityTable from mdm.tblEntity where Name = '<enter entity name>'
    3.Go to that table and add a after update trigger like
    if uda_<entityid>_<attributeid(Date attribute)> = default value
    update uda_<entityid>_<attributeid(Date attribute)> =getdate() where id = <LastUpdatedRow>
    I will check on this too from my side.
    By the way AFAIK i dont think so calendar control integration is possible .

  • Cant fully load updated data to Master data attribute

    Hi BW expert,
    I meet an issue here, I am not able to load updated data to master data attribute. My loading selection is based on employee number range.
    e.g employee number 00001 to 10000
    However the data is successfully loaded to master data but lot of the attribute data are not updated. e.g 056, 057, 098, 0100.
    I checked in PSA, there is no data updated for the attribute.
    I checked in RSA3 in R/3, there are attribute data extracted.
    Please advice, why attribute data is not updated when I load it in a range number. The attribute only work when I load one employee number.
    Thanks.
    regards,
    Wesley Koo

    check this:
    Re: Error while running InfoPackage
    Master data/text of characteristic 0MATERIAL already deleted
    Master data/text of characteristic ZXVY already deleted
    Hope it helps..

  • Please Help, Data Set Master/Detail with mySQL DB

    Hi...
    I installed the Data Set Master/Detail Sample (states and
    citys autopopulate) getting values from a XML file...
    when a user adds a listing in my site, it works great.. i use
    the XML file values for the states/citys and then everything is
    stored in a DB... BUT i need to do this..
    when he comes back to edit his listing, i want the Data Set
    Master/Detail to show hes values (from de DB) with the option to
    edit them, not the first XML file values.
    Thanks

    Thank you kinblas!!!!!
    I saw another post with the solution!!!
    Here it is
    http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?forumid=72&catid=602&threadid =1308016&highlight_key=y&keyword1=SetDefaultState
    Thanks again!

  • Conversion of Sales Center (0Plant) from Transactional data to master data.

    Hi All,
    We have an requirement like this.
    Currently in my reports sales center (0Plant) pulling data from tranansactional data.Now due to some problem this transaction data needs to be changed to pull data from master data from 0PLANT attribute of ZOUTNBR will give me the routine to pull data from master data tables.
    Regards,
    Shivu.

    Ans

  • Message if Expiry date of Master Test Equipment is in the Past

    Hi All,
    We need system give a mesage when expiry date of master test equipment (which is assigned as a PRT in the equipment task list) is in the Past at the time of result recording of an Equipment.
    Problem Details:-
    Master test equipment is defined in equipment category "P".
    Expiry date of master test equipment is maintained in the field
    of "start up date" in General Tab
    2.Equipments is defined in equipment category "Q"
    3.A task list is created in which master test equiment is assigned as a PRT
    4.Maintenance plan is created in which equipments is assigned & task List is selected
    5.Inspection lot is generated when maintenance plan is schedule & released.
    At the time of Calibration result recording "We want the system to give a message when expiry date (entered in start up date filed on  master equipment master view) of master test equipment is in the past"
    The end date in equipment master data cannot be altered and
    Hence we have used the "start up date" field for the equipment expiry  date.
    Pl assist me for solving this issue.
    Thanks & Regards,
         SKD

    hi shiv
    Start up date is the date at  which the equipment is commisioned or the equipment starts working,it is not the expiry date
    start up date is mainly used for calculating the MTTR/MTBF of the equipment
    regards
    thyagarajan

  • Replicated data in Master(Info Object) Urgent

    Hi ,
    I hv a Profit center master Data, which s getting updated from 0PROFIT_CTR_ATTR Datasource( 7.0), and 0PROFIT_CTR_TEXT Datasource(3.5),In both the PSA’S  im getting exact data as r/3,Now when I execute a DTP for Attribute Datasource,& schedule a Info package for text Datasource, and then check for the Data in Master Info Object I see that Data is being Replicated for every record.
    In R/3 & PSA all the records are getting updated correctly with correct Dates ( Date To & date From)
    The Data Pattern used is From (01.01.1900) To (31.12.2999) and the whole Data is correct.
    But in MasterData i.e Info object these I find that Along With These Date Records, the Records are being replicated with some other Dates which are not there in r/3
    Please advice
    Points vll be awarded

    hi,
    as the attribute is time dependent you will get the dates from 01.01.1000 to 31.12.1999.
    hence dates betn 01.01.1000 to 31.12.1899 will be there, hence nothing wrong in it.
    Assign points if it solves ur issue
    Ramesh

  • Meta data,Transaction data and Master data

    Hi all,
    Could you plz make me clear exactly wht does Meta data,Transaction data and Master data mean and the differences

    Hi Ganesh,
    <b>MASTER Data</b> is the data that exists in the organization like employee details, material master, customer master, vendor master etc. These are generally created once.
    Master data are distributed throughout the company, they are often not standardised and often redundant. As a result it is very costly to offer efficient customer service, keep track of supply chains and make strategic decisions. With SAP Master Data Management (SAP MDM) these important business data from across the company can be brought together, harmonised and made accessible to all staff and business partners. As a key component of SAP NetWeaver, SAP MDM ensures data integrity via all IT systems.
    Regardless of the industry, companies often work with different ERP and Legacy systems. The result: the business processes are based on information about customers, partners and products which is displayed in different ways in the systems. If the data are recorded manually, there are more inconsistencies: some data sets are entered several times, others cannot be retrieved by all divisions of the company.
    As corporate applications are becoming increasingly complex and produce ever greater amounts of data, the problem is intensified further. Nevertheless, your employees must work with the inconsistent data and make decisions on this basis. The lack of standardised master data easily leads to wrong decisions, which restrict efficiency and threaten customer satisfaction and profitability.
    In a word: in order to save costs and ensure your company’s success it is necessary to consolidate master data about customers, partners and products, make them available to all employees beyond system boundaries and use attributes valid company-wide for the purpose of description.
    <b>TRASNACTION Data</b> - These are the business documents that you create using the master data - Purchase orders, sales orders etc
    http://help.sap.com/saphelp_nw2004s/helpdata/en/9d/193e4045796913e10000000a1550b0/content.htm
    Regards,
    Santosh

  • Can not refresh snapshot changes after importing data of master site

    Hello !
    I have two database computer,one as master site,one as snapshot site.Because the error of the hard disk of master computer,I use the exporting data file to recover my database.after importing ,I found I can't refresh the refreshgroup on snapshot,who can tell me why?
    thinks in advance!
    (exp system/manager full=y inctype=complete file='/home/save/backdata/xhsdcomp.dat')
    (imp system/manager inctype=system full=Y file='/home/save/backdata/xhsdcomp.dat'
    imp system/manager inctype=restore full=Y file='/home/save/backdata/xhsdcomp.dat')
    null

    You haven't listed the errors that you're receiving when attempting to refresh your refresh group, but if your snapshots are attempting to fast refresh, I suspect it's because the creation timestamp of the snapshot log on the master site is newer than the creation timestamp of the snapshot. In this case you will need to do a complete refresh of the snapshot (or drop and recreate the snapshot) before you will be able to fash refresh it again.
    If this is not the case, please post the errors you are receiving when you attempt to refresh the refresh group.
    HTH,
    -- Anita
    Oracle Support Services
    null

  • Overwrite data of master data infoobject

    Hi all,
    We have one master data infoobject ZASRYHMA. This infoobject does not have any attrbiutes but it has two compounding fields ZSITE and 0DISTR_CHAN.
    Now customer has a requirement in which value of ZASRYHMA can change for a particular site and distribution channel. Generally if this value changes then system creates a new entry in tables /bic/pzasryhma and /bic/szasryhma.
    What they want is to overwrite the existing entry.
    Is it possible to achieve?  It's a master data infoobject.
    Please provide your kind help.
    Regards,
    Nilima Rodrigues

    Hi,
    You have three fields as key field in table as shown below along with values,
    ZASRYHMA     ZSITE         0DISTR_CHAN
    A-1                     B-1            C-1
    A-2                     B-2            C-2
    now if you want to change the value of say second row to
    A-3                    B-2             C-2
    right?
    This is not possible just by overwritting in the info-object master data. Because these are key-fields system will treat A-3 as new value and create new entry, on top of this your A-2 master data values must have been used in transactional data.
    Only way I can think of is to delete the transactional data where ever A-2 is used and then delete ZASRYHMA master data and then upload master data for ZASRYHMA with new values. And then transacional data.

  • Historic and Current data for Master data bearing objects

    Hi All,
    We are trying to implement type 2 dimensions for all the master data bearing characteristics, where we require historic and current data available for reporting. the master data can have a number of attributes and all of them can be time dependent. We are not getting any 'datefrom' or 'dateto' from the source system.
    For example:
    For Example: The table below shows data entering BI at different dates.
    Source Data day of entering BI
    MasterID ATTR1 ATTR2
    123506 Y REWAR day1
    123506 N REWAR day4
    123506 Y ADJUST day4
    123506 N ADJUST dayn
    The field 'day of entry into BI' is only for your understanding; we do not get any date fields from the source. SID is the field we are generating for uniqueness. It is a counter. EFF_DATE would be the current date for all the data. EXP_DATE would be 31.12.9999 until the attributes change. SID and MasterID together would be the key.
    On day 1 the following data enters BI,
    day 1
    SID MasterID ATTR1 ATTR2 EFF_DATE EXP_DATE
    1 123506 Y REWAR 2/10/2009 12/31/9999
    On day 4, 2 data records enter with same PID,
    SID MasterID ATTR1 ATTR2 EFF_DATE EXP_DATE
    2 123506 N REWAR 2/13/2009 12/31/9999
    3 123506 Y ADJUST 2/13/2009 12/31/9999
    the EXP_DATE of the record of day 1 needs to be changed to current date.
    Also there are two records entering, so latest record would have EXP_DATE as 31.12.9999. And the EXP_DATE of the first record on day 4 should change to the current date.
    so the following changes should happen,
    CHANGE
    SID MasterIDATTR1 ATTR2 EFF_DATE EXP_DATE
    1 123506 Y REWAR 2/10/2009 2/13/2009
    CHANGE
    SID MasterID ATTR1 ATTR2 EFF_DATE EXP_DATE
    3 123506 Y ADJUST 2/13/2009 2/22/2009
    On day n, one data record enters with same PID,
    SID MasterID ATTR1 ATTR2 EFF_DATE EXP_DATE
    4 123506 N ADJUST 2/22/2009 12/31/9999
    The change is ,
    CHANGE
    SID MasterID ATTR1 ATTR2 EFF_DATE EXP_DATE
    3 123506 Y ADJUST 2/13/2009 2/22/2009
    The data expected in P-table is as below, on Day n or after Day n, untill any other record enters for this MasterID,
    1 123506 Y REWAR 2/10/2009 2/13/2009
    2 123506 N REWAR 2/13/2009 2/13/2009
    3 123506 Y ADJUST 2/13/2009 2/22/2009
    4 123506 N ADJUST 2/22/2009 12/31/9999
    Has anyone worked on type 2 dimensions earlier? Or any ideas to implement this logic would be appreciated.
    Regards,
    Sudeepti

    Compound the Master ID with eff date and other attribute as superior objects
    so you will get P-table as
    ATTR1   ATTR2   MAT ID  
    1 2/10/2009 2/13/2009 123506 Y REWAR
    2 2/13/2009 2/13/2009 123506 N REWAR
    3 2/13/2009 2/22/2009 123506 Y ADJUST
    4 2/22/2009 12/31/9999  123506 N ADJUST

  • Error while saving data in master detail

    Dear all
    I'm new with ADF
    I have created master detail page
    master table is departments
    detail is Employee table
    The scenario is:
    Insert a record in Department
    Then insert another record in the details for an employee
    press save
    error Attribute DeptId in MyServices.EmployeesVO1 is required
    The primary key in both department and employee are sequence and are populated from a database trigger.
    please help
    note : adf 11g and jdeveloper 11.1.4
    Edited by: ta**** on Apr 13, 2011 12:54 PM

    you can try the followings:
    If you have a control on your data base, then you can change the FK constraint to be DEFERRABLE, thus the FK value will be checked after commit,
    I used this method once and it it works fine.
    to alter your FK to be DEFERRABLE
    check this:
    http://infolab.stanford.edu/~ullman/fcdb/oracle/or-triggers.html#deferring%20constraint%20checking

Maybe you are looking for

  • Text rotation to 45 degrees?

    How to rotate the text object by 45 degrees.? Using text formatting options we can have 0,90 and 270. and how 45 degrees?? Thanks in Advance.

  • IWeb domain.sites2 does not open after transferring to another computer

    I perused other posts, but still could not get a resolution to my problem.... I followed online instructions to transfer an iWeb file to another Mac computer using Dropbox.  The file is Domain.sites2 and seems to be intact on my alternate computer. 

  • Calling process flow / mapping from comand line on client machine?

    Looking to call a process flow / mapping from a commad line on the client machine. Online research has found some attempts at it, but nothing solid. I'd like to test this functionality so that I can eventually build these calls into a wrapper used by

  • M92p with 3 monitors

    Hi, I just recently got a M92p SFF Tower with onboard graphics and it was my impression that the chipset allows 3 monitors?  The desktop I got comes with an i5-3570 with Intel HD graphics 2500, which according to the intel website (http://www.intel.c

  • Where is the trash icon to delete photos?

    The just-published iPad Portable Genius book by Paul McFedries clearly states: To delete a photo, follow these steps: 1. Tap Photos in the Home screen. The Photo app appears. 2. Locate the Image you want to blow away. For example, if you know the pho