Where is the UniqueID value stored in the SharePoint database?

I'm trying to find where the 'UniqueId' field is stored in the SharePoint database for a list item. Not the GUID, but the UniqueID. This value is usually formatted like [ID#;GUID]. The guid here is different than the item guid.
In the documentation the column has a description, 'Lookup to a GUID for an item.' ( http://msdn.microsoft.com/en-us/library/dd961684(v=office.12).aspx )
but I can't find it in the database.
Here is the query I tried.
SELECT UserData.*        
FROM dbo.Lists INNER JOIN dbo.UserData 
ON dbo.Lists.tp_ID = dbo.UserData.tp_ListId
WHERE dbo.UserData.tp_ListId = '[my list]'
This should pull all values from the AllUserData table but it doesn't list 'UniqueID' as a column.

If you have 2 lists, List A contains custom names, List B has a lookup field that points to List A. I go into list B and select a client name ("Contoso"), enter some info, and save it. On the back end, the list item will contain a value of something like:
34#;Contoso
In this scenario the 34 is the SPListItem.ID value of that item in List A. They start at 1 in each list and increment by 1.
Also, running queries against the database directly is not supported and can take your database out of Microsoft's supportability.
Dimitri Ayrapetov (MCSE: SharePoint)

Similar Messages

  • Where is OID departmentnumber value stored

    Hi All,
    In the DAS utility, or in Portal when editing your profile/credentials, there is a place for department. Where is this value stored in the ODS schema?
    For example, First name is stored in ct_givenname. Last Name is stored in ct_sn.. etc.
    Anyone know where department is stored? One would think there should be a ct_departmentnumber table.
    Any thoughts would be greatly appreciated.
    Rob

    Rob,
    departmentnumber is per default a non indexed (non cataloged) attribute thus you don't have a separate ct_departmentnumber table. You need to create a catalog for departmentnumber via catalog.sh.
    BTW: We discourage from accessing the DB schema and NEVER write into any OID DB table.
    regards,
    --Olaf                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Where is the iCal database located on the Hard-Disk?

    Can someone please tell me where the iCal data is stored on the Hard-Disk?
    Im using OS 10.4.11.
    Recently after upgrading to iTunes 8.1 and syncing with my iPhone the iCal database got corrupted, every day is filled with past entries recurring forever. (this is described in another thread).
    Anyway I found a year old back-up of my User folder in an external H/D so if I cant fix my current iCal database I will replace it with the year-old back-up.
    However when I moved what I thought were the iCal data Folders to trash (i.e User/Library/Application Support/iCal and User/Library/Caches/Metadata/iCal) and restarted iCal, after a few moments all the entries reappeared! Obviously the data is also being stored elsewhere other than in these two folders, but I cant figure out where... Does anyone know where the data is stored?
    Thanks!

    Hi firoze,
    Although I don't know where the database is stored, I did figure out a way to my problem as follows, but it requires that you have a reasonably recent backup of your hard disk, and also an alternative startup disk. (In my case, the backup was also bootable thanks to Superduper.)
    Fortunately, I had recently backed up all the files from my internal hard disk onto an external disk. However, I had never run iCal's own "File > Back up Database..." routine.
    First, (This did not work.) I tried opening a backed up copy of iCal.app that was on a Firewire backup disk, while still booted from the (corrupted) internal HD. It however, gets its database from the boot disk, and so the same garbage appears in the calendar.
    The following did work:
    (1) I restarted with the "option" key held down, and booted from a backup disk.
    (2) Then I launched the backed-up iCal.app, and it looks fine.
    (3) Next, I ran "File > Back up Database..." in the backed up iCal, and saved the iCal backup in a file accessible to both disks.
    (4) Next, I restarted again, this time from the usual internal hard disk, which contains the corrupted iCal.
    (5) I started the corrupted iCal residing on the internal disk which had been problematical. Of course, the garbage still shows up on the calendar.
    (6) Now I went to the "File > Revert to Database Backup..." and pointed to the newly created iCal backup file.
    This worked! However, I was fortunate in having had a recent backup of my working disk, and I had a boot disk.
    For the near future, until Apple fixes the bug, I will run iCal's "File > Back up Database..." each time BEFORE I sync with iPhone. (Or, if the iTunes sync tells me that it will change more than 5% of my calendar items, I could click cancel.)
    I will also post this on the other two threads related to this subject.

  • Where is the Lightroom database?

    I wonder whether it is correct that I have the following folders in my D:/drive:
    D:/Adobe
    - Lightroom 1.0
    - Adobe Photoshop Lightroom
    - documentation
    D:/ My Pictures
    - Lightroom
    - Backups
    - Lightroom CatalogPreviews.Irdata
    - Lightroom Metadata.Irdata
    (file) Lightroom Catalog (Ircat file)
    I can not locate the original Lightroom Data base. There are data bases in the backups.

    Lee,
    Thanks for your reaction.
    I was confused by the fact that on June 28 this file was called a LRDB and on July 6 a LRCAT, I assume because I updated to LR 1.1.
    * However I still wonder where I can locate the "Lightroom Database.lrdb.lock", which is referred to in the TechNote?
    I Have LR with 1.1 running on laptop with Windows XP.
    Plan to also place L.R. 1.1 on a new desktop with Vista Home Premium.
    * Can I install LR 1.1 by using the CD with LR program and thereafter update to 1.1?
    In D:/My pictures/Lightroom I have the following sub folders:
    Backups
    Lightroom Catalog Previews.Irdata.
    Lightroom Metadata.Irdata
    Lightroom catalog
    * Do I just copy: D:/My pictures/Lightroom with its 4 sub folders to D:/ on the new PC?
    Thanks in advance for your help!

  • Where should the Debug Database.txt file go for AE CS6 on windows 7?

    Hi,
    I'm trying to use this work around to get cuda working when using aerender from the command line. It says to edit the Debug Database.txt, but I have searched my whole computer and it doesn't exist. So I guess I can create one in the right place, but I'm currently on windows and have no idea where to put it.
    I know it should go in the preferences folder but where is that in windows 7?
    thanks

    I strongly recommend against trying to do this. It is untested and unsupported. The article that you linked to is by someone who has tried this on a Mac, so there aren't even examples out there of someone doing this on Windows.
    No Adobe employee is going to help you to use this untested and unsupported hack using a debug database flag that was added for internal development purposes.

  • Where do the SharePoint components for Powershell come from?

    I am just learning and I am trying out some scripts. As soon as I type in the Get-SPWeb command I get something like this.
    PS C:\Windows\system32> $web = Get-SPWeb "https://xyz.sharepoint.com/"
    The term 'Get-SPWeb' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the
    path is correct and try again.
    At line:1 char:17
    + $web = Get-SPWeb <<<<  "https://xyz.sharepoint.com/"
        + CategoryInfo          : ObjectNotFound: (Get-SPWeb:String) [], CommandNotFoundException
        + FullyQualifiedErrorId : CommandNotFoundException
    Can someone please point me in the right direction?
    Thanks
    karl

    Hi Karl,
    If your workstation is on the same Active Directory domain as your SharePoint farm, you can also access SharePoint remotely via PowerShell remoting. You need to enable PowerShell remoting on your SharePoint servers and connect to them using PowerShell. Think
    of this as SSH and running an interactive console remotely.
    http://technet.microsoft.com/en-us/magazine/ff700227.aspx
    Once you're in the PowerShell remoting session, you can load the SharePoint PowerShell modules as was suggested earlier.
    Edwin Sarmiento SQL Server MVP | Microsoft Certified Master
    Blog |
    Twitter | LinkedIn
    SQL Server High Availability and Disaster Recover Deep Dive Course

  • Where is the online database of lens profiles

    How do I find out which profiles have been downloaded by individuals for lens profiles? Do I have to be within Camera Raw, or within Photoshop CS5(please state which) and hit "search online database" at the bottom of the menu? Please explain.
    Thanks.

    Thank you Dorin, you are absolutely correct and I did the search database from CS5,
    Thanks,
    Debra

  • Where Is The Content Source Name/Titles Stored In The SharePoint Database

    I am trying to tie my sharepoint crawl history (duration of crawls) with the content source.  the MSSCrawlHistory table has the data for calculating the durations but it doesn't give me the content source.  There is a column "crawlid" and "projectid" but I can't find a database table to join that will give me the content source name. 

    That information is not stored in the database. The information is needed by the servers for crawling purposes so it is stored in the registry. You can find content sources stored in the following registry key:
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office Server\12.0\Search\Applications\6cce8e5e-0ba3-491c-99e5-e6a178964d66\Gather\Portal_Content\ContentSources\0
    The actual guid used will vary. The ending 0 is abritrary, so if you have more than one then you will have keys under contentsources 0..n
    certdev.com

  • Where is the kerberos database stored?  Why doesn't kadmin -l dump work?

    I'm trying to figure out where exactly OS X Server stores the passwords when using Open Directory.  Is it in LDAP?  Is it the authAuthority attribute that's in LDAP?  I don't know a whole lot about Kerberos and I was trying to figure it out and I can't seem to get this question answered.  There is such a void of documentation concerning Open Directory.  Do you think Apple intends on killing it some day?
    And `kadmin -l dump` says "kadmin: hdb_foreach: iteration over database only supported for DSLocal".  Does anyone know how to dump the database?

    sudo ktutil list
    will at least list the principles, Not quite what you wanted, but i may be useful anyway.
    If you go into Server and select Open Directory, one option is to "Archive Open Directory Master..."
    That creates a password protected (encrypted) sparseimage (disk image). If you mount that, you will see a volume called /Volumes/ldap_bk that looks like
    $ ls -alhFG /Volumes/ldap_bk/
    total 4640
    drwx------  21 servadmin  staff   782B 26 Oct 15:10 ./
    drwxrwxrwt@  5 root       admin   170B  1 Nov 12:48 ../
    d-wx-wx-wt   2 servadmin  staff    68B 26 Oct 15:10 .Trashes/
    -rw-r--r--   1 servadmin  staff     0B 26 Oct 15:10 .little_endian
    -rw-r--r--   1 servadmin  staff    79B 26 Oct 15:10 DB_CONFIG
    -rw-------   1 servadmin  staff   955B 26 Oct 15:10 KerberosKDC.plist
    drwx------   2 servadmin  staff    68B 26 Oct 15:10 LaunchDaemons/
    -rw-r--r--   1 servadmin  staff    28K 26 Oct 15:10 authdata.ldif
    -rw-------   1 servadmin  staff    79B 26 Oct 15:10 authdata_DB_CONFIG
    -rw-r--r--   1 servadmin  staff   2.2M 26 Oct 15:10 backup.ldif
    drwxr-xr-x   7 servadmin  staff   238B 26 Oct 15:10 certificates/
    -rw-------   1 servadmin  staff   521B 26 Oct 15:10 com.apple.openldap.plist
    drwxr-xr-x   3 servadmin  staff   102B 26 Oct 15:10 dslocal/
    -rw-r--r--   1 servadmin  staff    29B 26 Oct 15:10 hostname
    -rw-r--r--   1 servadmin  staff     0B 26 Oct 15:10 id_omitfile
    -rw-------   1 servadmin  staff    20B 26 Oct 15:10 keychain
    -rw-r--r--   1 servadmin  staff   1.5K 26 Oct 15:10 krb5backup.tar.gz
    -rw-r--r--   1 servadmin  staff   260B 26 Oct 15:10 local_odkrb5realm
    drwxr-xr-x  15 servadmin  staff   510B 26 Oct 15:10 openldap/
    -rw-r--r--@  1 servadmin  staff    11B 26 Oct 15:10 primary_ipv4
    -rw-r--r--   1 servadmin  staff    65B 26 Oct 15:10 version.txt

  • Where is the stickies database stored on a backup HD

    I recently had to wipe my hard drive clean on my MacBook pro. It is running 10.9.4
    I  use time machine to back everything up. Now I want to transfer my pictures, sticky notes and music files from the back up hard drive to the laptop. I'm having all sorts of trouble fining them. And I did force a back up the night before I the laptop was wiped cleaned and had the OS reinstalled. I just don't know where the files are located, on the backup hard drive, and where to put them, on the laptop. Can someone please help?
    Thanks,
    Lou

    Why don't you simply migrate.. then you don't need to worry.. the migration software will move all the info to the required locations.
    Although this is a little out of date, ie up to Mountain Lion it is still packed with helpful info.
    http://pondini.org/OSX/MigrateLion.html
    Apple's notes are available albeit lack detail.
    OS X: How to migrate data from another Mac using Mavericks

  • Where is the Object database designer ?

    Can anyone tell me where i can find Oracle object database designer ?
    Thanks.

    I am also looking for the answer of the same question, "How to
    install and use the Object databse designer"
    I read a french book about UML and Oracle 8i, Its author add on
    his web site at the adress
    http://www.editions-
    eyrolles.com/livres/soutou/modeletypeodd.php3?
    xd=79305aac4c44ae92a44a52f131f8a7fb
    and at the adress
    http://www.editions-
    eyrolles.com/livres/soutou/modeleserverodd.php3?
    xd=79305aac4c44ae92a44a52f131f8a7fb
    the use of ODD but even the author don't know how to install it
    on windows NT/2000

  • Where is the SharePoint 2013 Note Board Web Part?

    Was the Note Board web part deprecated in SP 2013? I don't see it under Social Computing web parts.
    Thanks,
    Chuck

    Hi Jasper - I added a newfeed webpart on the blank web part page. It is working fine in Post and Replies. But the news feeds are not appearing on my site. I explored that were is it storing data and found it is going in the Microblog list. How can I see
    the news feed on my site? I checked the my-site is configured and working. Other Ideas and Opinions ect.. I can see on my-site. 
    Any thoughts.
    Regards,
    Khushi
    I found out that my-site also has Microblog List. Each site collection has it's microblog list. Site Feed webpart stores data in their respective list. I am wondering if we can show my-site's news feed on my homepage which is in my root site collection.
    Any thoughts.
    Regards,
    Kausar

  • Where is the value of report repository stored in the database?

    Hi all,
    One of our developers is trying to write a code that would send the output report (pdf)of a process through mail, typical work flow stuff.But the problem is that we are not supposed to hard code the value of report repositiry from where the report has to be picked.can anybody suggest a table in the database from where the value of report repository can be queried.
    we tried using
    select reportrepositorypt from pswebprofile.
    but this doesnt return the correct path. we went to PIA->peopletools->webprofile ->webprofie configuration
    here we updated the value in report repository field and saved it and queried again.
    But this didnt solve our problem.
    Its showing the previous value which is different from the actual report repository path.
    all the servers are in solaris box.
    please suggets.
    Thanks!

    Right now, I am trying to send a PDF (XML Publisher report) as an email to our vendors (it is their ACH Advice).
    What I have done so far is: Created an App Engine, one step to populate a state record with run control information and the second step that runs XML Publisher and creates PDF report(s) which are published to the Report Repository and saved to a file on our network. Now I think I just need to create a third step to recall the PDF(s) and send the PDF(s) out as emails to our vendors.
    I have found that the PDF information from Report Repository is stored in the Database in the CDM_LIST_VW record (this is a view and the main underlying table is CDM_LIST, but this contains what I need for now, so I'm going to try using it first). The Report ID is stored in the CONTENTID field and the Report Description (description shown on the Report Repository -- which in our case contains the email address) is stored in the CONTENT_DESCR field. So I am going to try over the next week to write the logic to query the CDM_LIST_VW for the data needed for the email address and the ReportID to go and grab the file....The hardest part is finding the actual file but I am hoping that I can also find a URL on that table. I'd pull the file from the network, but XML Publisher writes them out into numbered folders where all the PDFs are named the XML Report Defn - thus same name). I have not tried any of this yet, but am hoping I'm on the right path.
    I hope this helped answer your question.
    Good Luck!
    Jennifer

  • Where does the Value of EECST gets stored

    Hi,
    Where does the value of EECST gets stored for the infotype p0167. How can it be retrieved from that specific infotype. - Urgent issue.
    Thanks........
    sk

    hi,
    what is EECST?
    there is no such field in data dictionary.
    plz specify properly or atleast u give the name of field in general that is used in pa0167 infotype so that we can help u.

  • I need to add the values stored in the session object into the html textbox

    Dear Sir,
    i have been trying to create an edit employee details page
    What i have done till now is as follow:
    1. Got employee id from HTML page.
    2. Compared it with the id stored in the database.
    3. If the id is correct then pulled the record of the corresponding employee and stored it in the session object.
    4. Dispatched the session values to another servlet EditEmpDetails2.java
    what i need to do now
    5. Now i need to set the session values in the text field of the html form
    6. I also need to be able to edit those vales and store the edited values in the database.
    Please help me as i have tried doing it for 1 week without any clues
    i have tried to create a html page which is something like this:
    <html>
    <head>
    <title>Edit Employee Details Page</title>
    <body BGCOLOR="red" text="black">
    <h1 ><font color="black">Edit Employee Details Page</font></h1>
    <form action = "EditEmpDetails" method="Get">
    <table width="50% align="center"
    <tr><td>Employee ID: </td>
    <td><INPUT TYPE="TEXT" name="employeeid"<br></td></tr>
    <tr><td><center><input type="submit" value="submit"></center></td></tr>
    <tr><td><center><input type="reset" value="reset" ></center></td></tr>
    </table>
    </form>
    </body>
    </html>
    design of my servlet EditEmpDetails.java
    public void EditEmpDetails1 extends HttpServlet
    public void doGet(HttpServletRequest request, HttpServletResponse response)throws ServletException, IOException
    PrintWriter out = response.getWriter();
    response.setContentType("text/html");
    HttpSession session = request.getSession();
    String employeeid;
    String X = request.getParameter("employeeid");
    System.out.println("Employee iD:" + X);
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    Connection con = DriverManager.getConnection("jdbc:odbc:murphy");
    String query = "Select * from users where employeeid=?";
    PreparedStatement stat = con.prepareStatement(query);
    System.out.println(stat);
    stat.setString(1,X);
    ResultSet rs = stat.executeQuery();
    while(rs.next())
    String Z = rs.getString(password);
    if(Z.equals(X))
    String A = rs.getString(1);
    session.setAttribute("employeeid", A);
    String B = rs.getString(2);
    session.setAttribute("firstname", B);
    String C = rs.getString(3);
    session.setAttribute("lastname", C);
    String D = rs.getString(4);
    session.setAttribute("gender", D);
    String E = rs.getString(5);
    session.setAttribute("dateofbirth", E);
    String F = rs.getString(6);
    session.setAttribute("address", F);
    String G = rs.getString(7);
    session.setAttribute("postalcode", G);
    String H = rs.getString(8);
    session.setAttribute("phone", H);
    String I = rs.getString(9);
    session.setAttribute("mobile", I);
    String J = rs.getString(10);
    String url = "/EditEmpDetao;s.java";
    RequestDispatcher dispatcher = getServletContext().getRequestDispatcher(url)
    dispatcher.forward(request,response);
    catch (Exception e)
    system.out.println(e)
    I do not know how to put the values stored in the session object into the html text box

    3. If the id is correct then pulled the record of the corresponding employee and stored it in the session object.do you really need to store this in session object?
    5. Now i need to set the session values in the text field of the html form which form? in a new html/jsp page? i suggest go for a JSP
    In your JSP page use JSP expression tags to put the session attributes.
    it's something like : <input type='text' name='employeeid' value='<%= session.getAttribute("employeeid") %>' >and you need to generateanother servlet for saving the details/modifications to the database.
    I think i m clear enough.
    if you need more clarifications. just try it and then post your problem.
    Diablo

Maybe you are looking for

  • FIX: Zen Micro Installer Error - "DemoShield Player has encountered an error.

    I just thought I'd post a solution to a problem I was having with the Zen Micro Explorer software installation because it might help someone else. Also, this forum is well indexed by search engines so it will be easy for people to find. It took me we

  • Using internal table in BAPI

    hello friends, I have a scenario where I have to write a BAPI that accepts an input and exports an internal table with several records. I am finding it difficult to define an internal table. When I try to define it in the EXPORT tab, it says that 'Oc

  • How can i transfer a pdf file to my i photos

    How can i transfer a file to my i photo?

  • Where are my missing artists?

    I was going to ask which files I need to back up to avoid having to rip my CD collection for a second time (it took me three months). Had a quick browse in the Finder and Found (ha!) that there's a very limited number of artists in Music>iTunes>iTune

  • JVM 1.5.0, parallelism and object creation

    Hi. I am currently running Java 1.5.0 on a production server. This server is a 4-cpu 2gb ram beast running Red Hat ES 3. It provides MySQL backend and a Java server to be accessed through a Flash client. So far, the Flash client fares well. MySQL tak