How to use evaluate function for sql server function

Hi Team,
We have imported a column(date dtat type) from SQL server cube . By default it imported as varchar,. We have three option in physical layer for this column(Varchar,Intiger,unknown)
So we want to convert this column into date.can we use evaluate or there is any option to do that.?

Hi,
I am not sure your requirement. But how pass evaluate function obiee?
syntax:- EVAULATE('your db function(%1,%2)', parameter list)
here %1 and %2 are the no.of parameters (columns or may constant values) to be passed for the db-function
if you have 3 parameters then you need to use %3 also.. means the columns to be passed.
following exapmples are for ORACLE db,
ex1: EVALUATE('upper(%1)', 'satya ranki reddy') gives the result as -> SATYA RANKI REDDY
ex2: EVALUATE('upper(%1)', 'Markets.Region') here Markets.Region is column.
you also can call the user-defined functions through evaulate
EVALUATE('functioname(%1,%2), column1, column2)
the above function has 2 parameters to be inputted
Hope this help's
Thanks
Satya

Similar Messages

  • How to use OEM to moniter sql server 2000

    Hi,
    I need to learn How to use OEM to moniter sql server 2000.
    Can anyone help me and give me some website or documents
    to read?
    So I can learn to do this job.
    Thanks.

    See Note 115302.1 in Metalink.oracle.com
    in how to use OEM Diagnostic pack addon for SQL Server
    Or search for
    oem "user events"
    to build your own monitor script.

  • User define function for SQL Server

    Hi all,
    it's possible to write an UDF for SQL Server in Java?
    I know that it is possible with DB2 and Oracle.
    My main goal is to write an UDF that works well with all of these DB.
    Thank's

    Hi all,
    it's possible to write an UDF for SQL Server in
    Java?Okay, JDBC can talk to any database (given you have a driver implementation). Also, JDBC is like a conduit. So the real question is likely, will your database let you do this?
    I know that it is possible with DB2 and Oracle.
    My main goal is to write an UDF that works well with
    all of these DB.I also don't know what a UDF is, but if you ARE talking about stored procedures, then no, it's not possible. All databases are different. On that note, I typically recommend NEVER using stored procedures unless absolutely necessary.
    But it also sounds like you want to do this at runtime. I've seen systems that do this (bind stored procs at runtime dynamically) and it's a freakin nightmare! So be careful.

  • How To Use Reporting Services On SQL Server 2000 ?

    Hi all .
    Today , I has a issue .
    Normal , if the customer use SQl Server 2005 , it is no proplem , so if use SQL Server 2000 ,  Now , I want to use Reporting services on SQL Server 2000 , but , I am searching  on Internet , so I know , if I want to use SQL 2000 reporting server , I must have license of SQL server 2000 .
    is Every body  idea for this issue  ? .
    Please help me .
    Thanks alot .

    Ok ,anyway thanks alot ,.

  • Using DB Link for SQL Server

    Hi All,
    When I query the SQL server table from Oracle using DB Link, it works fine for any table:
    select * from testtable@DBLINK test -- This statement works fine because I am giving * i.e. all columns
    But when I try to query specific columns like
    Select test.status from testtable@DBLINK test
    then it gives me error ORA-00904: "test.Status invalid Identifier", I can see this particular column when I query the testtable for all of the columns.
    I don't know what to do.
    Thanks

    You need to use quoted names. SQL Server data dictionary stores names in same case they were entered while Oracle in upper case. So when you issue
    Select test.status from testtable@DBLINK test Oracle parser will look for column STATUS while on SQL Server side it could be stored, for examle, as Status or status. Check column names on SQL Server side and use quoted names. Assuming column name is Status:
    Select test."Status" from testtable@DBLINK test SY.

  • What licenses and how many should be taken for SQL Server 2012 Standard Edition

    Hi,
    Could you help me please with my problem: what licenses (per core or Server + CAL) should I take for SQL Server 2012 Standard Edition for the following environment:
    SQl Server will be installed on VM with 1 core.
    Physical processor is Intel Xeon CPU E7-4830, 2.13 GHz, 2131 Mhz.
    Few people will have an access to the VM but SQL server is used for a web-application for about 200 users from Active Directory.
    Great thanks in advance,
    Lena

    Hello,
    Since the question is a license issue, you can call 1-800-426-9400, Monday through Friday, 6:00 A.M. to 6:00 P.M. (Pacific Time) to speak directly
    to a Microsoft licensing specialist. You can also visit the following site for more information and support on licensing issues:
    http://www.microsoft.com/licensing/mla/default.aspx
    Hope this helps.
    Regards,
    Alberto Morillo
    SQLCoffee.com

  • How to get Connection string for Sql Server Installed ( using Gallary ) on Azure VM ?

    Installed Azure VM From gallary with Sql Server 2012, even after allowing 1433 port through firewall, still cant get access to Sql Server from outside vm, So please provide steps for getting exact ServerName for connecting Sql Server on VM for connecting
    from Visual Studio Application.
    Thanks.

    Hi,
    You can check the DNS name of the VM in the VM instance page of the Azure management portal.
    In addition, you can also refer to the third-party article below:
    http://thomaslarock.com/2014/02/connect-to-a-windows-azure-vm-using-sql-server-management-studio/
    ( Note: Microsoft is providing this information as a convenience to you. The sites are not controlled by Microsoft. Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. Please
    make sure that you completely understand the risk before retrieving any suggestions from the above link.)
    Best regards,
    Susie
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected]

  • How to use sequence in MS sql server?

    In Oracle DB we use sequence like that:
    SequenceImpl s = new SequenceImpl("customer_seq", getDBTransaction());
    Integer next = (Integer)s.getData();
    setId(new Number(next.intValue()));
    But there is no sequence in sql server ,how can I do?
    Thank you~~

    MS SQLServer have a IDENTITY column property and UNIQUEIDENTIFIER data type that is somewhat similar to Oracle's sequence. I don't know whether your table contain either of these, or you just want to set sequential number to a column.
    Below is some info about IDENTITY and UNIQUEIDENTIFIER you may already know since they are in SQLServer Book.
    IDENTITY property: You can define IDENTITY property on a numeric column. You can set the seed and increment on this column property very much like Oracle's sequence. The only thing I think it does not have is the "nextval". You can use IDENT_CURRENT function or @@IDENTITY after an INSERT or SELECT INTO to get the last value generated. Of course you can use this value and add the increment to get the next
    value but it not the same as seqname.nextval which keep incrementing each time you call it. Getting the current identity value and adding the increment your self will not work for multiple sessions with pending
    insert. Another thing about column with IDENTITY property is that you cannot insert value into this column (i.e, omit it in your insert statement values) unless IDENTITY_INSERT is on, but only one table in a
    session can have IDENTITY_INSERT to be turned on.
    If you don't need to know the next seq value, then IDENTITY work similar to Oracle sequence. Execute select after postchanges or commit will have system generated values. If you need to get next value before insert, Sung suggest using SEQ_TABLE and managing the next value (write a database function to mimic Oracle'
    s nextval).
    UNIQUEIDENTIFIER datatype: UNIQUEIDENTIFIER is a 16-byte hexadecimal number indicating a globally unique identifier (GUID). The GUID is useful when a row must be unique among many other rows. You could use NEWID() to create a value of type uniqueidentifier or calling some API function that returns a GUID. The advantage of using uniqueidentifier is that the values generated by NEWID function or application GUID are guaranteed to be unique throughout the world. The disadvantage of using uniqueidetifier is that it is long and obscure, random, difficult for user to remember or type correctly. It is 16 byte, which is large compare to other datatype such as 4-byte integer.
    Thanks,
    Yvonne

  • Use rptproj SSRS for SQL Server 2008R2 in VS 2010 (and/or VS 2012 better(

    In my company, I use VS 2008 and SQLServer 2008R2, and I have rptproj projects in VS 2008.
    The rptproj project has several rdl files.
    I would like use VS 2010 or VS 2012 with SSRS and SQLServer 2008R2.
    SSDT, which was introduced with SQL Server 2012. I suggest not possible migration rpt projects in VS 2008 to VS 2010 / VS 2012
    Any alternative solution to do it ?
    I have seen, but I'm confused it
    http://stackoverflow.com/questions/12503976/how-to-edit-ssrs-2008r2-reports-in-visual-studio-2012/16112721#16112721
    Iko says
    You can now use Visual Studio 2010 to edit .rtproj report projects and .rdl reports.
    You need VS10 SP1, then install the Data Tools for VS10, followed by the installation of SQL Server Express 2012 with Reporting Services and Data Tools.
    Reference: http://stackoverflow.com/a/14599850/206730
    But I'm confused about it.
    www.kiquenet.com/profesional

    Hi Kiquenet,
    According to your description, you installed VS 2008 and SQL Server 2008 R2, and create Reporting Services projects. Now you want to use VS 2010 or VS 2012 to open and manage the reports.
    SQL Server Data Tools - Business Intelligence for Visual Studio 2012 supports versions of SQL Server 2012 or lower, we can directly download Microsoft SQL Server Data Tools - Business Intelligence for Visual Studio 2012 from
    https://www.microsoft.com/en-us/download/details.aspx?id=36843, then select SQL Server Data Tools - Business Intelligence for Visual Studio 2012 and SQL Client Connectivity SDK as
    new shard features to install.
    We can open the projects in both Visual Studio 2012 and Visual Studio 2010. For local mode only (that is, when not connected to SQL Server), we won’t get the design-time experience for controls that are associated with the viewer in Visual Studio 2008, but
    the project will function correctly at runtime. If we add a feature that’s specific to Visual Studio 2012, the report schema is upgraded automatically and you can no longer open the project in Visual Studio 2008.
    If you have any more questions, please feel free to ask.
    Thanks,
    Wendy Fu
    Wendy Fu
    TechNet Community Support

  • Error during DatabaseCopy using SAP tools for SQL Server (v7.12)

    I'm trying to perform a system copy from PRD to QAS.  The database has been mounted to QAS via detach and attach method.  I did a DBCC on the database and everything looks OK.  I'm running SAPINST (SAP Tools for MSSQL) and selecting the Database Copy option.  The source database has a schema of DBO.  Both PRD and QAS are running SAP 4.7/Basis 620.  The target schema is QAS.  SAPINST fails in step 2 (Define Params) with:
    "This service cannot be used for a system with SAP ABAP release 620"
    Is this message misleading?  Has anyone receive this message before.
    UPDATE:
    I donwloaded the latest version of SAP Tools for MSSQL and now it failes during the execution phase on step, "Convert DB objects to new schema".
    Here is the log:
    Process environment
    ===================
    Environment Variables
    =====================
      =::=::\
      =C:=C:\Program Files\sapinst_instdir\MSS\CPY
      ALLUSERSPROFILE=C:\Documents and Settings\All Users
      APPDATA=C:\Documents and Settings\r3tadm.STAG\Application Data
      CLIENTNAME=TRAIMONOTEBOOK
      ClusterLog=C:\WINDOWS\Cluster\cluster.log
      CommonProgramFiles=C:\Program Files\Common Files
      COMPUTERNAME=STAG
      ComSpec=C:\WINDOWS\system32\cmd.exe
      DBMS_TYPE=MSS
      FP_NO_HOST_CHECK=NO
      HOMEDRIVE=C:
      HOMEPATH=\Documents and Settings\r3tadm.STAG
      LOGONSERVER=
    STAG
      MSSQL_DBNAME=R3T
      MSSQL_SERVER=stag
      NUMBER_OF_PROCESSORS=4
      OS=Windows_NT
      Path=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Dell\SysMgt\RAC5;C:\Program Files\Dell\SysMgt\oma\bin;C:\Program Files\Dell\SysMgt\oma\oldiags\bin;C:\Program Files\Microsoft SQL Server\80\Tools\BINN;C:\usr\sap\R3T\SYS\exe\run
      PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
      PROCESSOR_ARCHITECTURE=x86
      PROCESSOR_IDENTIFIER=x86 Family 6 Model 15 Stepping 6, GenuineIntel
      PROCESSOR_LEVEL=6
      PROCESSOR_REVISION=0f06
      ProgramFiles=C:\Program Files
      SAPINST_EXEDIR_CD=C:/STM/I386
      SAPINST_JRE_HOME=C:/WINDOWS/TEMP/3/sapinst_exe.3012.1234409473/jre
      SAPLOCALHOST=stag
      SESSIONNAME=RDP-Tcp#25
      SystemDrive=C:
      SystemRoot=C:\WINDOWS
      TEMP=C:\WINDOWS\TEMP\3
      TMP=C:\WINDOWS\TEMP\3
      USERDOMAIN=STAG
      USERNAME=r3tadm
      USERPROFILE=C:\Documents and Settings\r3tadm.STAG
      windir=C:\WINDOWS
    User: STAG\r3tadm, Id: S-1-5-21-2727398557-1322528747-1943968026-1019
    Working directory: C:/Program Files/sapinst_instdir/MSS/CPY
    Current access token
    ====================
    Could not get thread token. Last error: 1008. I assume that no thread token exists.
    Got process token.
    Privileges:
      Privilege SeBackupPrivilege, display name: Back up files and directories, not enabled.
      Privilege SeRestorePrivilege, display name: Restore files and directories, not enabled.
      Privilege SeShutdownPrivilege, display name: Shut down the system, not enabled.
      Privilege SeDebugPrivilege, display name: Debug programs, not enabled.
      Privilege SeAssignPrimaryTokenPrivilege, display name: Replace a process level token, not enabled.
      Privilege SeSystemEnvironmentPrivilege, display name: Modify firmware environment values, not enabled.
      Privilege SeIncreaseQuotaPrivilege, display name: Adjust memory quotas for a process, not enabled.
      Privilege SeChangeNotifyPrivilege, display name: Bypass traverse checking, enabled.
      Privilege SeRemoteShutdownPrivilege, display name: Force shutdown from a remote system, not enabled.
      Privilege SeTcbPrivilege, display name: Act as part of the operating system, not enabled.
      Privilege SeUndockPrivilege, display name: Remove computer from docking station, not enabled.
      Privilege SeSecurityPrivilege, display name: Manage auditing and security log, not enabled.
      Privilege SeTakeOwnershipPrivilege, display name: Take ownership of files or other objects, not enabled.
      Privilege SeLoadDriverPrivilege, display name: Load and unload device drivers, not enabled.
      Privilege SeManageVolumePrivilege, display name: Perform volume maintenance tasks, not enabled.
      Privilege SeSystemProfilePrivilege, display name: Profile system performance, not enabled.
      Privilege SeImpersonatePrivilege, display name: Impersonate a client after authentication, enabled.
      Privilege SeSystemtimePrivilege, display name: Change the system time, not enabled.
      Privilege SeCreateGlobalPrivilege, display name: Create global objects, enabled.
      Privilege SeProfileSingleProcessPrivilege, display name: Profile single process, not enabled.
      Privilege SeIncreaseBasePriorityPrivilege, display name: Increase scheduling priority, not enabled.
      Privilege SeCreatePagefilePrivilege, display name: Create a pagefile, not enabled.
    Groups:
    Group count: 14
      \LOCAL S-1-2-0 Attributes: SE_GROUP_MANDATORY SE_GROUP_ENABLED_BY_DEFAULT SE_GROUP_ENABLED
      BUILTIN\Administrators S-1-5-32-544 Attributes: SE_GROUP_MANDATORY SE_GROUP_ENABLED_BY_DEFAULT SE_GROUP_ENABLED SE_GROUP_OWNER
      \Everyone S-1-1-0 Attributes: SE_GROUP_MANDATORY SE_GROUP_ENABLED_BY_DEFAULT SE_GROUP_ENABLED
      BUILTIN\Users S-1-5-32-545 Attributes: SE_GROUP_MANDATORY SE_GROUP_ENABLED_BY_DEFAULT SE_GROUP_ENABLED
      STAG\SAP_R3T_LocalAdmin S-1-5-21-2727398557-1322528747-1943968026-1021 Attributes: SE_GROUP_MANDATORY SE_GROUP_ENABLED_BY_DEFAULT SE_GROUP_ENABLED
      STAG\SAP_LocalAdmin S-1-5-21-2727398557-1322528747-1943968026-1023 Attributes: SE_GROUP_MANDATORY SE_GROUP_ENABLED_BY_DEFAULT SE_GROUP_ENABLED
      STAG\None S-1-5-21-2727398557-1322528747-1943968026-513 Attributes: SE_GROUP_MANDATORY SE_GROUP_ENABLED_BY_DEFAULT SE_GROUP_ENABLED
      NT AUTHORITY\INTERACTIVE S-1-5-4 Attributes: SE_GROUP_MANDATORY SE_GROUP_ENABLED_BY_DEFAULT SE_GROUP_ENABLED
      NT AUTHORITY\NTLM Authentication S-1-5-64-10 Attributes: SE_GROUP_MANDATORY SE_GROUP_ENABLED_BY_DEFAULT SE_GROUP_ENABLED
      NT AUTHORITY\Authenticated Users S-1-5-11 Attributes: SE_GROUP_MANDATORY SE_GROUP_ENABLED_BY_DEFAULT SE_GROUP_ENABLED
      \ S-1-5-5-0-36828865 Attributes: SE_GROUP_MANDATORY SE_GROUP_ENABLED_BY_DEFAULT SE_GROUP_ENABLED SE_GROUP_LOGON_ID
      NT AUTHORITY\REMOTE INTERACTIVE LOGON S-1-5-14 Attributes: SE_GROUP_MANDATORY SE_GROUP_ENABLED_BY_DEFAULT SE_GROUP_ENABLED
      NT AUTHORITY\This Organization S-1-5-15 Attributes: SE_GROUP_MANDATORY SE_GROUP_ENABLED_BY_DEFAULT SE_GROUP_ENABLED
      STAG\SAP_R3T_GlobalAdmin S-1-5-21-2727398557-1322528747-1943968026-1018 Attributes: SE_GROUP_MANDATORY SE_GROUP_ENABLED_BY_DEFAULT SE_GROUP_ENABLED
    ERROR      2009-02-11 19:31:46.529 [sixxcstepexecute.cpp:984]
    FCO-00011  The step MoveSchema with step key |SAPMSSTOOLS|ind|ind|ind|ind|0|0|MssSysCopy|ind|ind|ind|ind|4|0|MssSchemaMove|ind|ind|ind|ind|2|0|MoveSchema was executed with status ERROR .
    TRACE      2009-02-11 19:31:46.544
      Call block:CallBackInCaseOfAnErrorDuringStepExecution
        function:CallTheLogInquirer
    is validator: true
    WARNING    2009-02-11 19:31:46.544 [iaxxejshlp.cpp:150]
    Could not get property IDs of the JavaScript object.
    ERROR      2009-02-11 19:31:46.544 [iaxxejsctl.cpp:492]
    FJS-00010  Could not get value for property .
    TRACE      2009-02-11 19:31:46.544
    A problem occurs during execution the inquirer callback. SAPinst will switch back to the standard behaiviour.
    TRACE      2009-02-11 19:31:46.544 [iaxxgenimp.cpp:707]
                CGuiEngineImp::showMessageBox
    <html> <head> </head> <body> <p> An error occurred while processing service SAP Toools for MS SQL Server > Database Copy. You may now </p> <ul> <li> choose <i>Retry</i> to repeat the current step. </li> <li> choose <i>View Log</i> to get more information about the error. </li> <li> stop the task and continue with it later. </li> </ul> <p> Log files are written to C:\Program Files/sapinst_instdir/MSS/CPY. </p> </body></html>
    TRACE      2009-02-11 19:31:46.544 [iaxxgenimp.cpp:1245]
               CGuiEngineImp::acceptAnswerForBlockingRequest
    Waiting for an answer from GUI
    Edited by: Tony Raimo on Feb 12, 2009 4:37 AM

    This is looks like permission issue on source folder
    Copy source in to your local drive and try again.
    I had same issue and able to resolve after copy EXP1 EXP2 and EXP3 folder in to local drive C: with Everyone full access
    Yogesh

  • How to use lexical parameters with Sql Server Stored Procedure?

    Hi,
    I'm developing a BI Publisher report on a sql server database. I need to execute a stored procedure to dynamically build the query by replacing the lexical parameters with the values of varaibles of the stored procedure. With Oracle stored procedures, I have used data template and had reference the varaiable in SP by prefixing it with '&'.
    It doesn't work if I try to do the same thing with SQL server. Is there anyone who has come across the similar situation? Please let me know if anyone has got any ideas...
    Thanks in Advance
    Rag

    TopLink currently doesn't support multiple ResultSets. Multiple ResultSets support is considered for a future release.

  • How to use update trigger in sql server 2008 with specific column

    Hello friends currently my trigger updates on table update, and I need to change this to only fire when specific column changes.
    /****** Object: Table [dbo].[User_Detail] ******/
    SET ANSI_NULLS ON
    GO
    SET QUOTED_IDENTIFIER ON
    GO
    CREATE TABLE [dbo].[User_Detail](
    [sno] [int] IDENTITY(1,1) NOT NULL,
    [userid] [nvarchar](50) NULL,
    [name] [nvarchar](max) NULL,
    [jointype] [nvarchar](50) NULL,
    [joinside] [nvarchar](50) NULL,
    [lleg] [nvarchar](50) NULL,
    [rleg] [nvarchar](50) NULL,
    [ljoining] [int] NULL,
    [rjoining] [int] NULL,
    [pair] [int] NULL
    ) ON [PRIMARY]
    GO
    /****** Object: Table [dbo].[User_Detail] table data ******/
    SET IDENTITY_INSERT [dbo].[User_Detail] ON
    INSERT [dbo].[User_Detail] values (1, N'LDS', N'LDS Rajput', N'free', N'Left', N'jyoti123', N'SUNIL', 6, 4, 4)
    INSERT [dbo].[User_Detail] VALUES (2, N'jyoti123', N'jyoti rajput', N'free', N'Left', N'mhesh123', N'priya123', 3, 2, 2)
    SET IDENTITY_INSERT [dbo].[User_Detail] OFF
    /****** Object: Table [dbo].[User_Detail] trigger ******/
    CREATE TRIGGER triggAfterUpdate ON User_Detail
    FOR UPDATE
    AS
    declare @userid nvarchar(50);
    declare @pair varchar(100);
    select @userid=i.userid from inserted i;
    select @pair=i.pair from inserted i;
    SET NOCOUNT ON
    if update(pair)
    begin
    insert into Complete_Pairs(userid,pair)
    values(@userid,1);
    end
    GO
    /****** Object: Table [dbo].[Complete_Pairs] Script Date: 05/22/2014 21:20:35 ******/
    SET ANSI_NULLS ON
    GO
    SET QUOTED_IDENTIFIER ON
    GO
    CREATE TABLE [dbo].[Complete_Pairs](
    [Sno] [int] IDENTITY(1,1) NOT NULL,
    [userid] [nvarchar](50) NULL,
    [pair] [int] NULL
    ) ON [PRIMARY]
    GO
    my query is TRIGGER triggAfterUpdate is fired only when pair column in User_Details table is update only and when we update other column like ljoin or rjoin then my trigger is not fired
    please any one can suggest us how it can done or provide solution
    Jitendra Kumar Sr. Software Developer at Ruvixo Technologies 7895253402

    >select @userid=i.userid
    frominserted i;
            select
    @pair=i.pair
    frominserted i;
    The code above assumes a single row UPDATE.
    You have to setup the trigger for set processing like when 100 rows are updated in a single statement.
    UPDATE trigger example: http://www.sqlusa.com/bestpractices2005/timestamptrigger/
    Kalman Toth Database & OLAP Architect
    SQL Server 2014 Design & Programming
    New Book / Kindle: Exam 70-461 Bootcamp: Querying Microsoft SQL Server 2012

  • VersioningError when Using JDBC driver for SQL Server with RMI

    Hi,
    I wrote a simple class for inserting rows into a database. The database is SQL Server 2000, and I am using weblogic's mssqlserver4 driver. The class works fine, but when I try to export the class as a remote object (using Sun's RMI implementation, not Weblogic RMI), I get the following error:
    Exception in thread "main" weblogic.common.internal.VersioningError: No WebLogic packages defined in CLASSPATH at weblogic.common.internal.VersionInfo.<init>(VersionInfo.java:35) at weblogic.version.<clinit>(version.java:18)
    at weblogic.jdbc.common.internal.FileProxy.initFileHandles(FileProxy.java:30) at weblogic.jdbc.mssqlserver4.BaseConnection.prepareConnection(BaseConnection.java:215)
    at weblogic.jdbc.mssqlserver4.Driver.newConnection(Driver.java:34) at weblogic.jdbc.mssqlserver4.ConnectDriver.connect(ConnectDriver.java:151) at java.sql.DriverManager.getConnection(DriverManager.java:512) at java.sql.DriverManager.getConnection(DriverManager.java:171)
    Can anyone tell me why this happens? What is difference between using the driver standalone and using it with RMI? Does it have anything to do with the fact that I'm using Javasoft RMI and not Weblogic RMI? I'm pretty sure I have the classpaths set up correctly.
    Thanks,
    Bo

    Bo Min Jiang wrote:
    Hi,
    I wrote a simple class for inserting rows into a database. The database is SQL Server 2000, and I am using weblogic's mssqlserver4 driver. The class works fine, but when I try to export the class as a remote object (using Sun's RMI implementation, not Weblogic RMI), I get the following error:
    Exception in thread "main" weblogic.common.internal.VersioningError: No WebLogic packages defined in CLASSPATH at weblogic.common.internal.VersionInfo.<init>(VersionInfo.java:35) at weblogic.version.<clinit>(version.java:18)
    at weblogic.jdbc.common.internal.FileProxy.initFileHandles(FileProxy.java:30) at weblogic.jdbc.mssqlserver4.BaseConnection.prepareConnection(BaseConnection.java:215)
    at weblogic.jdbc.mssqlserver4.Driver.newConnection(Driver.java:34) at weblogic.jdbc.mssqlserver4.ConnectDriver.connect(ConnectDriver.java:151) at java.sql.DriverManager.getConnection(DriverManager.java:512) at java.sql.DriverManager.getConnection(DriverManager.java:171)
    Can anyone tell me why this happens? What is difference between using the driver standalone and using it with RMI? Does it have anything to do with the fact that I'm using Javasoft RMI and not Weblogic RMI? I'm pretty sure I have the classpaths set up correctly.
    Thanks,
    BoHi. Show me the whole stacktrace of the exception. The issue seems to be the driver licensing
    code, which is looking for the bea.license file, and not finding it. Have your code run a System command
    to find and print out the classpath it thinks is in effect. You will then see if the license file is there.
    Joe

  • How to Pick the data for SQL Server to Xcelsius

    Hi all,
    I am trying to create a dashboard Sales Analysis through Xcelsius in my system, but the toal data is in the SQL Server, Is't any possibility to pick the data directly from SQL server. How to connect thr templet to live data.
    Could someone please explain to me.
    Regards,
    KiranKumar.A

    XCELSIUS DYNAMIC DATA SOURCE
    Dynamic datasources for Xcelsius

  • How to get a certificate for SQL server (Virtual machine) on Azura

    Hi 
    I am lost and I don't know what to do have a certificate available for SQL2014 (Data warehousing virtual machine Size A7).
    My purpose is to connect to SQL server via Power Query and Engagement Studio  with Encryption connection option ticked. 
    I have looked at a lot of pages via Google and I wish there is a clear step-by-step guide for me to follow. This is a MS Cloud with a predefined virtual machine. There should be some guide. Can you point me to the right direction please? 
    I have a 

    Hi,
    Here are some related links below for you:
    a real certificate for a virtual machine
    https://social.msdn.microsoft.com/Forums/azure/en-US/7c48763f-fb04-46c6-a6e6-c21740d007cf/a-real-certificate-for-a-virtual-machine?forum=WAVirtualMachinesforWindows
    Configuring a custom domain name for an Azure cloud service
    http://azure.microsoft.com/en-us/documentation/articles/cloud-services-custom-domain-name/
    Create a Service Certificate for Azure
    https://msdn.microsoft.com/library/azure/gg432987.aspx?f=255&MSPPError=-2147217396
    Since we are not familiar with Azure, if the information above is not helpful, please post another thread in Azure forums and post a feedback regarding your requirement:
    http://feedback.azure.com/forums/34192--general-feedback
    Best Regards,
    Amy
    Please remember to mark the replies as answers if they help and un-mark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]

Maybe you are looking for