Sharepoint full farm backup generates sql logs for search application differential backups

We are running full farm backups for sharepoint. Backup completes normally but SQL logs are generated for differential backups for search service application.
it says something like:
Database differential changes were backed up: database: search_serv.......
Thanks,
Basit

This can happen for a few reasons, such as is disk contention or network issues. Are you backing up to a shared directory on the SQL Server? If not, try that.
Trevor Seward
Follow or contact me at...
This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

Similar Messages

  • TopLink does not generate SQL statements for inserting new objects

    TopLink does not generate SQL statements for inserting new objects. Why?
    Thanks in advance...

    Please see the response in
    Why does not unitofwork.commit write data to the database?
    Regards,
    Chris

  • Fatal error when trying to backup SharePoint server (Failed to set request to pause search application)

    I have powershell script that is used to backup SharePoint server. It was working correctly until last week. I found this error message indicate that search application cannot be paused. I don't know what happen and what should I do to solve this issue.
    Please help me find solution for this.
    [20/1/2557 18:53:53] FatalError: Object Search Service Application failed in event OnBackup. For more information, see the spbackup.log or sprestore.log file located in the backup directory.
    InvalidOperationException: Failed to set request to pause search application

    Hi,
    According to your post, my understanding is that you got an error when you backup your SharePoint Server.
    You can do the steps below, then check whether it works.
    Look for any One-time timer job  for Backup/Restore and delete it (From Central Administration > Monitoring > Review Job Definitions)
    Clear the timer cache following the below link:
    http://blogs.msdn.com/b/jamesway/archive/2011/05/23/sharepoint-2010-clearing-the-configuration-cache.aspx
    Run the below command from the SharePoint Management Shell:
    $ssa = Get-SPEnterpriseSearchServiceApplication –Identity <SearchServiceApplicationName>
    Suspend-SPEnterpriseSearchServiceApplication -Identity $ssa
    Once the above steps are completed successfully start the full farm backup from the Central Administration > Backup and Restore > Farm Backup
    Once backup is completed run the below command to resume the SSA
    $ssa = Get-SPEnterpriseSearchServiceApplication –Identity <SearchServiceApplicationName>
    Resume-SPEnterpriseSearchServiceApplication -Identity $ssa
    Thanks & Regards,
    Jason
    Jason Guo
    TechNet Community Support

  • SQL statement for Search Box

    I am looking for a SQL statement for Search Box in the sample application.
    Anyone knows about these issues?
    Thanks in advance,
    Sam
    Edited by: samNY on Mar 13, 2009 2:18 PM

    Thank Manish,
    Could you tell me how to restrict in following codes?
    select
    e.EQUIPMENT_ID,
    e.HOST_NAME,
    e.SERIAL_NUMBER,
    e.CITY,
    e.ROOM,
    e.RACK,
    e.CR_DT,
    e.CR_USR,
    e.LM_USR,
    e.LM_DT,
    e.TASK_TASK_ID
    from SVR_EQUIPMENT e
    where
    instr(upper(e.SERIAL_NUMBER),upper(nvl(:P1_REPORT_SEARCH,e.SERIAL_NUMBER))) > 0 and
    instr(upper(e.CITY),upper(nvl(:P1_REPORT_SEARCH,e.CITY))) > 0 and
    instr(upper(e.CR_USR),upper(nvl(:P1_REPORT_SEARCH,e.CR_USR))) > 0 or
    instr(upper(e.LM_USR),upper(nvl(:P1_REPORT_SEARCH,e.LM_USR))) > 0
    Thanks for all again,
    Sam

  • Dead lock detected in alert log for HTMLDB application

    We have a HTMLDB application newly impletemented in our database. One day, I found a ORA-000060 deadlock detected message in database alert log. Our developer said that the application is only for users to query something and will not insert, update or delete anything. I have created a tar but still not found any problem cause this. Can anyone tell why this occur?
    Thanks in advance,
    Antony
    *** SESSION ID:(289.143) 2005-11-17 10:35:48.976
    DEADLOCK DETECTED
    Current SQL statement for this session:
    DELETE FROM WWV_FLOW_DATA WHERE FLOW_INSTANCE = :B1 AND ITEM_ID IN (SELECT ID FROM WWV_FLOW_PAGE_PLUGS WHERE FLOW_ID = :B3 AND PAGE_ID = :B2 AND PLUG_SOURCE_TYPE IN ( 'SIMPLE_CHART', 'UPDATABLE_SQL_QUERY', 'DBMSSQL_CURSOR', 'FUNCTION_RETURNING_DBMSSQL_CURSOR', 'FUNCTION_RETURNING_SQL_QUERY_CACHED', 'FUNCTION_RETURNING_SQL_QUERY', 'STRUCTURED_QUERY', 'SQL_QUERY'))
    ----- PL/SQL Call Stack -----
    object line object
    handle number name
    7000000bb989300 228 package body FLOWS_020000.WWV_FLOW_DISP_PAGE_PLUGS
    7000000bbc922c8 8961 package body FLOWS_020000.WWV_FLOW
    7000000bbd00000 236 procedure FLOWS_020000.F
    7000000bdf1baa0 8 anonymous block
    The following deadlock is not an ORACLE error. It is a
    deadlock due to user error in the design of an application
    or from issuing incorrect ad-hoc SQL. The following
    information may aid in determining the deadlock:
    Deadlock graph:
    ---------Blocker(s)-------- ---------Waiter(s)---------
    Resource Name process session holds waits process session holds waits
    TX-00050005-00756507 308 289 X 295 276 X
    TX-0002000f-006fc0df 295 276 X 308 289 X
    session 289: DID 0001-0134-00000005     session 276: DID 0001-0127-00000002
    session 276: DID 0001-0127-00000002     session 289: DID 0001-0134-00000005

    Rakesh,
    Please see if (ora-600 [12333] / ora-3137 [12333] Troubleshooting [ID 828123.1]) and/or (ORA-600 [12333] "Fatal Two-Task Protocol Violation" [ID 35928.1]) is applicable.
    Did you try to bounce the database and see if you can reproduce the issue?
    If you still encounter the same error, please log a SR.
    Thanks,
    Hussein

  • SSIS 2008 generates Registration information for this application needs to be updated - VSTA.exe

    I am getting the following error in SQL Server 2008 R2 (build 10.50.1734) x86 platform BI Development Studio (BIDS) 9.0.30729.4462 with .NET Framework 3.5 SP1 in a Integration Services project.
    I have a package with a Data Flow task that contains a Script Component. I edit it and attempt to edit script and I get the following error:
    Registration information for this application needs to be updated. To update, log on as an administrator and run this command:
    C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\VSTA.exe /HostID SSIS_ScriptComponent /setup
    About a minute later, another box displays with the following message
    Cannot show Visual Studio Tools for Applications editor.
    Additional information:
    The VSTA designer failed to load. “System.Runtime.InteropServices.COMExeption (0x80004005) Error HRESULT E_FAIL has been returned from a call to a COM component at VSTADTAProvider.Interop.VSTADTEProiderClass.GetDTE(String bysHostID, Uint32 dwTimeout).
    I execute the command above running as an administrator (there are no output results). BIDS displays the same symptoms.
    This happens on a Windows 7 Enterprise (I said Professional in an earlier but un-related post) workstation x86 platform. I get the error even if I create a new script component in a new data flow task in a new package. I also have VS 2010 Premium
    Edition (build 10.0.30319.1 RTMRel) installed on this workstation (if that matters). I also uninstalled and re-installed SQL Server from my workstation. My colleague does
    not experience this error, who should have a similarily configured PC. Does anyone have any ideas? Thanks.
    Greg

    Old thread, but I was having the exact same problem and fixed it, so maybe this will help someone else in the future.
    My problem is that I was confusing the concept of running as an administrator in Windows 7.  I was logged into my machine as an administrator, but I was not actually running the "VSTA /HostID SSIS_ScriptComponent /setup" command as an administrator. 
    When you don't run as an administrator, the command does nothing - no message, nothing.
    I ran the Command Prompt as an Administrator while logged in as a user with Administrator privileges (right click on Command Prompt, select "Run As Administrator").  Then, from that command prompt, I ran "VSTA /HostID SSIS_ScriptComponent /setup", VSTA
    did its magic, and then everything worked.
    After all these years, that explicit "Run As Administrator" concept still trips me up sometimes.

  • SSL logging for an application

    How can i set up SSL logging for just one application. I have an htmldb SSL application that i want to track through my oracle http server log. How can i set up a log to just track the directory path that it is in. For example, i want all /pls/htmldb/f?p=164:* tracked in this log alone.

    Hi,
    <font color=maroon> if you are using JDKLogging then as per Standard J2SE Specification you can have the following Logging Levels in decreasing Order:</font><BR>
    SEVERE (highest value)
    WARNING
    INFO
    CONFIG
    FINE
    FINER
    FINEST (lowest value)
    <font color=maroon> But if u are using Log4j Implementation for your Application logging then u can have the following levels</font><br>
    static Level DEBUG - The DEBUG Level designates fine-grained informational events that are most useful to debug an application.
    static Level INFO - The INFO level designates informational messages that highlight the progress of the application at coarse-grained level.
    static Level WARN - The WARN level designates potentially harmful situations.
    static Level ERROR - The ERROR level designates error events that might still allow the application to continue running.
    static Level FATAL - The FATAL level designates very severe error events that will presumably lead the application to abort.
    Thanks
    Jay SenSharma
    http://jaysensharma.wordpress.com/2010/03/03/log4j-at-application-level-in-weblogic/ (WebLogic Wonders Are Here)

  • Use sql notification for console application C#

    I have developed ucma C# console application which sends IM  to users. 
    Now I want to send IM if any new entry is added in the table 
    So i want to use query notification .
    I have enabled service broker on my database .
    And I have added code for sqldepedency  in my code file.
    as follows.
    public static void Main(string[] args)
    UCMASampleInstantMessagingCall ucmaSampleInstantMessagingCall =
    new UCMASampleInstantMessagingCall();
    ucmaSampleInstantMessagingCall.connectionfunction();
    public void connectionfunction()
    string connectionString = @"Data Source=PIXEL-IHANNAH2\PPINSTANCE;User ID=sqlPPUser;Password=ppuser1;Initial Catalog=Ian;";
    SqlDependency.Stop(connectionString);
    SqlConnection sqlConnection = new SqlConnection(connectionString);
    string statement = "select * from dbo.tblTest";
    SqlCommand sqlCommand = new SqlCommand(statement, sqlConnection);
    // Create and bind the SqlDependency object to the command object.
    SqlDependency dependency = new SqlDependency(sqlCommand, null, 0);
    SqlDependency.Start(connectionString);
    dependency.OnChange += new OnChangeEventHandler(dependency_OnChange);
    private void dependency_OnChange(object sender, SqlNotificationEventArgs e)
    ucmaSampleInstantMessagingCall.run()
    private void Run() { // Initialize and startup the platform. Exception ex = null; try { // Create the UserEndpoint _helper = new UCMASampleHelper(); _userendpoint = _helper.CreateEstablishedUserEndpoint();
    Now I want to run this application in the background , so f any new entry is added it will notify my C# application and call run function.
    i tried above code but it was not working.
    Sample code is avaliableon net but it is for form application and we can see output if we run the form application .
    so if i want to run my C# application what should I do?

    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using System.Configuration;
    using System.Security.Principal;
    using System.Security.Cryptography.X509Certificates;
    using System.Net;
    using System.Threading;
    using System.Diagnostics;
    using Microsoft.Rtc.Collaboration;
    using Microsoft.Rtc.Signaling;
    using System.Runtime.InteropServices;
    //using Microsoft.Rtc.Collaboration.Sample.Common;
    namespace UserPresence
    class UCMASampleInstantMessagingCall
    #region Locals
    // The information for the conversation and the far end participant.
    // Subject of the conversation; will appear in the center of the title bar of the
    // conversation window if Microsoft Lync is the far end client.
    private static String _conversationSubject = "The Microsoft Lync Server!";
    // Priority of the conversation will appear in the left corner of the title bar of the
    // conversation window if Microsoft Lync is the far end client.
    private static String _conversationPriority = ConversationPriority.Urgent;
    // The Instant Message that will be sent to the far end.
    private static String _messageToSend = "Hello World! I am a bot, and will echo whatever you type. " +
    "Please send 'bye' to end this application.";
    private InstantMessagingCall _instantMessaging;
    private InstantMessagingFlow _instantMessagingFlow;
    //private ApplicationEndpoint _applicationEndpoint;
    private UserEndpoint _userendpoint;
    private UCMASampleHelper _helper;
    private static SqlDependency dependency;
    private static string connectionString = @"Data Source=MyServer;Initial Catalog=MyDatabase;Integrated Security=SSPI";
    // Event to notify application main thread on completion of the sample.
    private AutoResetEvent _sampleCompletedEvent = new AutoResetEvent(false);
    #endregion
    #region Methods
    /// <summary>
    /// Instantiate and run the InstantMessagingCall quickstart.
    /// </summary>
    /// <param name="args">unused</param>
    //private string _helper;
    //UCMASampleHelper _helper = new UCMASampleHelper();
    public static void Main(string[] args)
    UCMASampleInstantMessagingCall ucmaSampleInstantMessagingCall =
    new UCMASampleInstantMessagingCall();
    var connection = new SqlConnection(connectionString);
    SqlDependency.Start(connectionString);
    SqlConnection connection = new SqlConnection(connectionString);
    connection.Open();
    SqlCommand command = new SqlCommand(
    "select col1 from dbo.tblTest",
    connection);
    // Create a dependency (class member) and associate it with the command.
    dependency = new SqlDependency(command, null, 5);
    // Subscribe to the SqlDependency event.
    dependency.OnChange += new OnChangeEventHandler(onDependencyChange);
    // start dependency listener
    SqlDependency.Start(connectionString);
    //ucmaSampleInstantMessagingCall.Run();
    private static void onDependencyChange(Object o, SqlNotificationEventArgs args)
    run();
    private void Run()
    // Initialize and startup the platform.
    Exception ex = null;
    try
    // Create the UserEndpoint
    _helper = new UCMASampleHelper();
    _userendpoint = _helper.CreateEstablishedUserEndpoint();
    Console.Write("The User Endpoint owned by URI: ");
    Console.Write(_userendpoint.OwnerUri);
    Console.WriteLine(" is now established and registered.");
    List<string> _Users = new List<string>();
    _Users.Add("sip:[email protected]");
    _Users.Add("sip:[email protected]");
    foreach (string useruri in _Users)
    // Setup the conversation and place the call.
    ConversationSettings convSettings = new ConversationSettings();
    convSettings.Priority = _conversationPriority;
    convSettings.Subject = _conversationSubject;
    // Conversation represents a collection of modes of communication
    // (media types)in the context of a dialog with one or multiple
    // callees.
    //Convers conver =new ConversationParticipant
    Conversation conversation = new Conversation(_userendpoint, convSettings);
    InstantMessagingCall _instantMessaging = new InstantMessagingCall(conversation);
    // Call: StateChanged: Only hooked up for logging. Generally,
    // this can be used to surface changes in Call state to the UI
    _instantMessaging.StateChanged += this.InstantMessagingCall_StateChanged;
    // Subscribe for the flow created event; the flow will be used to
    // send the media (here, IM).
    // Ultimately, as a part of the callback, the messages will be
    // sent/received.
    _instantMessaging.InstantMessagingFlowConfigurationRequested +=
    this.InstantMessagingCall_FlowConfigurationRequested;
    // Get the sip address of the far end user to communicate with.
    //String _calledParty = "sip:" +
    // UCMASampleHelper.PromptUser(
    // "Enter the URI of the user logged onto Microsoft Lync, in the User@Host format => ",
    // "RemoteUserURI");
    // Place the call to the remote party, without specifying any
    // custom options. Please note that the conversation subject
    // overrides the toast message, so if you want to see the toast
    // message, please set the conversation subject to null.
    // _instantMessaging.Conversation()
    _instantMessaging.BeginEstablish(useruri, new ToastMessage("Hello Toast"), null,
    CallEstablishCompleted, _instantMessaging);
    catch (InvalidOperationException iOpEx)
    // Invalid Operation Exception may be thrown if the data provided
    // to the BeginXXX methods was invalid/malformed.
    // TODO (Left to the reader): Write actual handling code here.
    ex = iOpEx;
    finally
    if (ex != null)
    // If the action threw an exception, terminate the sample,
    // and print the exception to the console.
    // TODO (Left to the reader): Write actual handling code here.
    Console.WriteLine(ex.ToString());
    Console.WriteLine("Shutting down platform due to error");
    _helper.ShutdownPlatform();
    // Wait for sample to complete
    _sampleCompletedEvent.WaitOne();
    // Just to record the state transitions in the console.
    void InstantMessagingCall_StateChanged(object sender, CallStateChangedEventArgs e)
    Console.WriteLine("Call has changed state. The previous call state was: " + e.PreviousState +
    "and the current state is: " + e.State);
    // Flow created indicates that there is a flow present to begin media
    // operations with, and that it is no longer null.
    public void InstantMessagingCall_FlowConfigurationRequested(object sender,
    InstantMessagingFlowConfigurationRequestedEventArgs e)
    Console.WriteLine("Flow Created.");
    _instantMessagingFlow = e.Flow;
    // Now that the flow is non-null, bind the event handlers for State
    // Changed and Message Received. When the flow goes active,
    // (as indicated by the state changed event) the program will send
    // the IM in the event handler.
    _instantMessagingFlow.StateChanged += this.InstantMessagingFlow_StateChanged;
    // Message Received is the event used to indicate that a message has
    // been received from the far end.
    _instantMessagingFlow.MessageReceived += this.InstantMessagingFlow_MessageReceived;
    // Also, here is a good place to bind to the
    // InstantMessagingFlow.RemoteComposingStateChanged event to receive
    // typing notifications of the far end user.
    _instantMessagingFlow.RemoteComposingStateChanged +=
    this.InstantMessagingFlow_RemoteComposingStateChanged;
    private void InstantMessagingFlow_StateChanged(object sender, MediaFlowStateChangedEventArgs e)
    Console.WriteLine("Flow state changed from " + e.PreviousState + " to " + e.State);
    // When flow is active, media operations (here, sending an IM)
    // may begin.
    if (e.State == MediaFlowState.Active)
    // Send the message on the InstantMessagingFlow.
    _instantMessagingFlow.BeginSendInstantMessage(_messageToSend, SendMessageCompleted,
    _instantMessagingFlow);
    private void InstantMessagingFlow_RemoteComposingStateChanged(object sender,
    ComposingStateChangedEventArgs e)
    // Prints the typing notifications of the far end user.
    Console.WriteLine("Participant "
    + e.Participant.Uri.ToString()
    + " is "
    + e.ComposingState.ToString()
    private void InstantMessagingFlow_MessageReceived(object sender, InstantMessageReceivedEventArgs e)
    // On an incoming Instant Message, print the contents to the console.
    Console.WriteLine(e.Sender.Uri + " said: " + e.TextBody);
    // Shutdown if the far end tells us to.
    if (e.TextBody.Equals("bye", StringComparison.OrdinalIgnoreCase))
    // Shutting down the platform will terminate all attached objects.
    // If this was a production application, it would tear down the
    // Call/Conversation, rather than terminating the entire platform.
    _instantMessagingFlow.BeginSendInstantMessage("Shutting Down...", SendMessageCompleted,
    _instantMessagingFlow);
    _helper.ShutdownPlatform();
    _sampleCompletedEvent.Set();
    else
    // Echo the instant message back to the far end (the sender of
    // the instant message).
    // Change the composing state of the local end user while sending messages to the far end.
    // A delay is introduced purposely to demonstrate the typing notification displayed by the
    // far end client; otherwise the notification will not last long enough to notice.
    _instantMessagingFlow.LocalComposingState = ComposingState.Composing;
    Thread.Sleep(2000);
    //Echo the message with an "Echo" prefix.
    _instantMessagingFlow.BeginSendInstantMessage("Echo: " + e.TextBody, SendMessageCompleted,
    _instantMessagingFlow);
    private void CallEstablishCompleted(IAsyncResult result)
    InstantMessagingCall instantMessagingCall = result.AsyncState as InstantMessagingCall;
    Exception ex = null;
    try
    instantMessagingCall.EndEstablish(result);
    Console.WriteLine("The call is now in the established state.");
    catch (OperationFailureException opFailEx)
    // OperationFailureException: Indicates failure to connect the
    // call to the remote party.
    // TODO (Left to the reader): Write real error handling code.
    ex = opFailEx;
    catch (RealTimeException rte)
    // Other errors may cause other RealTimeExceptions to be thrown.
    // TODO (Left to the reader): Write real error handling code.
    ex = rte;
    finally
    if (ex != null)
    // If the action threw an exception, terminate the sample,
    // and print the exception to the console.
    // TODO (Left to the reader): Write real error handling code.
    Console.WriteLine(ex.ToString());
    Console.WriteLine("Shutting down platform due to error");
    _helper.ShutdownPlatform();
    private void SendMessageCompleted(IAsyncResult result)
    InstantMessagingFlow instantMessagingFlow = result.AsyncState as InstantMessagingFlow;
    Exception ex = null;
    try
    instantMessagingFlow.EndSendInstantMessage(result);
    Console.WriteLine("The message has been sent.");
    catch (OperationTimeoutException opTimeEx)
    // OperationFailureException: Indicates failure to connect the
    // IM to the remote party due to timeout (called party failed to
    // respond within the expected time).
    // TODO (Left to the reader): Write real error handling code.
    ex = opTimeEx;
    catch (RealTimeException rte)
    // Other errors may cause other RealTimeExceptions to be thrown.
    // TODO (Left to the reader): Write real error handling code.
    ex = rte;
    finally
    // Reset the composing state of the local end user so that the typing notifcation as seen
    // by the far end client disappears.
    _instantMessagingFlow.LocalComposingState = ComposingState.Idle;
    if (ex != null)
    // If the action threw an exception, terminate the sample,
    // and print the exception to the console.
    // TODO (Left to the reader): Write real error handling code.
    Console.WriteLine(ex.ToString());
    Console.WriteLine("Shutting down platform due to error");
    _helper.ShutdownPlatform();
    #endregion
    So i want to call run method when new entry is added in the database . and this application is not like any asp.net form application . In form application we display data when programs loads as like your RefreshDataWithSqlDependency
    function . But in my application my application will run (send IM) when any new entry is added in the database . As I need running application to achieve notification , what kind of changes are required?

  • Generating .sql script for all objects of a User/Schema

    Hi All,
    What are the ways in which I can generate scripts for a full USER (all objects) with dependencies. (by dependencies I mean for example that PK be created first before creating FK).
    We can export the full schema using (exp rows=n) but this will generate a .dmp file. I want a .sql file which can be run on any other machine (from SQL> prompt) so that user and all objects are created (without the need to use "imp").
    Thanks
    -AKJ

    But the easiest way to do this would be to do an export with rows=N and then an import.
    You coule do an export and then let run the import utility with indexfile=<you_name_it>.sql and this way you'll get a file with all statements included (but table definition commented out).
    Or you do it yourself (DIY-method), where you have to select all your relevant objects and their dependencies.

  • Generating SQL Script for Existing Tables and DBs

    Hello,
    is it possible to generate automatically a SQL-Script from an existing table or oracle database ?
    I want to export an existing table from an Oracle DB (g11) if its possible with the data.
    Perhaps somebody could me explain how to to do this.
    I am using the "SQL Developer 2.1" and the "enterprise manager konsole".
    I'm a rookie in using this tools.
    Thank you for any informations.
    N. Wylutzki

    If you want to export data, you should use the export utility. This is documented:
    http://tinyurl.com/23b7on

  • SQL Logging for a specific session or table

    Hi!
    Don't know if this is the right place to ask, so sorry if it's wrong.
    Is there any possibility to log all SQL activity which a specific session id is producing.
    Using the Instance Manager I can only see the Latest SQL statement but no history.
    Please help my poor soul...
    Thanks in advance
    Greets, Hansi

    Hi Joel and everyone,
    Thanks for your information.
    But I like to say that, I wanted to store the text of these SQL TRACE files which belongs to different session, into my table SQL_TRACE (session_id, username, text).
    As you said that we can use DBMS_SESSION.SET_SQL_TRACE (sql_trace True);
    to enable the tracing of particular session.
    I know TKPROF is the utility via which we can read these sql trace files.
    For Example:
    C:\ tkprof c:\SQL_TRACE\ora012929.trc c:\SQL_text\oratext.txt
    With regards to this, how should we read the trace files for the users who logon to the database using the feature of logon trigger and then store the text of these sqltrace files of different users into the table SQL_TRACE (session_id, username, text).
    I wanted to use my table for getting sqltrace info for Historical purpose.
    It is my requirement.
    Could you please give your suggestion about it?
    Thanks
    Jaffery.

  • PL/SQL Counter for HTMLDB - Application Express - Survey Counter

    I wonder if somebody could help me to clarify the HowTo on this Survey.
    Based on:
    http://www.oracle.com/technology/products/database/application_express/index.html
    http://www.oracle.com/technology/oramag/oracle/06-mar/o26browser.html
    I follow up however that is not exactly what I like to see in my Survey. I like to make something more elegant and flexible.
    On this example he put 10 questions/ page. I like to use 1 Question / Page.
    And I like to extend to more than 10 pages. for example 20.
    My question to the forums is:
    If I create an application with Only 3 pages [ Welcome, Survey, End ]
    And the main page for the Survey is the second page.
    How would programatically be the logic to:
    Start the Welcome page => Setup variable counter = 1
    Then using sessions with a button click on Start Survey.
    Survey Page check for the existence of counter variable if exist retrieve the Question from the Questions table and the properly Answer will be recorded.
    This answer could include comments, and the Rating could be an LOV.
    After the Question 1 is asnwered then the Next Button on the Page 2 Call the same page 2. If the Questions is the max number of questions [20] then go to the End or Summary Page. if not just increase the counter variable then retrieve the next question.
    Am I asking to much ???. I'm just starting on PL/SQL and HTMLDB I'm not sure how to manipulate those variables. I've been trying but I'm stuck.
    Thanks in Advance for your Help.
    Dino.
    http://htmldb.oracle.com/pls/otn/f?p=42721:1:4875344191023058749:::::
    PS -> As soon as have the answer will post it public in htmldb.oracle.com =)

    Move this over to :
    Oracle Application Express (APEX)

  • Generating activation code for mobile application

    Hi
    I am writing a mobile application which I am planning to have some kind of registration so that they don't install the application easily. For example, can I generate an activation code kind of thing using the phone's IMEI or is there any other logic or ways of doing it.
    Thanks
    Mani.

    Oh no I do not mean to unlock my phone, I just need to activate the SIM card inside so that I can use the phone to make calls and send messages etc. By this point I even have no idea what my number is... =D

  • Disabling commons logging for specific application

    Hi
    Is there some possiblity to disable default logging (commons) on glassfish? I have configured log4j and the default commons logging polluts my logs...
    Regards

    For those items that are to be disabled, you could add a new style class to each cell control to indicate it's disabled. You could use a formatter function:
    addStyleClass : {
        parts : [ 'isRecordLocked' ],
        formatter : function(isRecordLocked) {
            return isRecordLocked ? "disabledStyle" : "";
    where 'isRecordLocked' is the indicator in your data whether your record is locked, and 'disabledStyle' is the custom CSS class which caters for a disabled look of your cell.
    If you need to suppress any press events for the locked records, you could do it in the same way.

  • SQL Command for searching

    I have a database with fields containing large amounts of text. I wish to be able to search the text in the database using a sql command. I have a number of problems:
    1. I will not know in advance how many words the user will be searching for eg 'Holidays' or 'Holidays in England' so how can I split these up and search effectively?
    2. What is the SQL command to use to check in the database field to see if it has any of the related strings?
    Any help would be greatly appreciated.

    1.Use StringTokenizer to split the words in your search string
    StringTokenizer st = new StringTokenizer("query_string"," ");
    2.Suppose it has 2 tokens then, construct a query like this, (You can use st.countTokens() to get the token count)
    Select * from table where col1 like '%token1%' or col1 like '%token2%'
    Hope this helps.
    Sudha

Maybe you are looking for

  • Document Name in Email

    Hi All, I am using an output type with transmission medium as External Send inorder to send an email with a pdf attachment. I want to change the name of the attchment document as per my requirement. How do i go about this. P.S. I am using (in NACE) A

  • Apple TV -- No Signal Message

    Hi. Apple TV won't put a signal out through HDMI when it wakes from sleep. I've waited, nothing. I've switched TV inputs, nothing. I have to unplug the ATV unit to get the TV to pick up the signal, and then, ATV unpairs from the remote, so I have to

  • Safari icon has disappeared on my new iPad.  Have to search for the app to open it.

    Received my new iPad yesterday. Safari icon does not appear on any screen. Have to search to open it

  • Billing Documents created by user in VBRK , even though he didn't create

    Hi All,      User has an issue saying that he didn't create billing documents but all documets created and has his name on it. How can it happen? I checked in table VBRK and there I can see billing documents created by user name with date and time.  

  • What happened to over the air updates

    am I the only one, or has over the air updates been changed to over WiFi updates? Not the same thing. Pretty inconvenient when you're somewhere without WiFi and want to update your phone.