How to change Crystal Reports XI database name at run time from ASP code using ADO
Dear All,
I need advises regarding to my problem below
I have two database in same SQL 2005 SERVER for TEST01 and LIVE01 Environtment, and I've created more than 100 reports with Crystal Reports 11 and call it from ASP classic page.
The problem is how can I change a database from TEST01 to LIVE01 at the run time from ASP code as I already using TEST01 database on Crystal Reports and I do not want to set a new database location inside crystal for each reports
Thanks and wait for your reply soon.
Below is my code, which has no effect to crystal reports although I've change the database from TEST01 to LIVE01:
<%
Dim oADOConnection, oRptTable, oADORecordset, sql
Dim struser, strpwd, strdriver, dblocation, dbname, strConnect
struser = "sa"
strpwd = ""
strdriver = "{SQL SERVER}"
dblocation = "SQL200501"
dbname = "LIVE01" ' Changed from TEST01 to LIVE01
strConnect = "User Id=" & strUser & ";"
strConnect = strConnect & "PWD=" & strPwd & ";"
strConnect = strConnect & "DRIVER=" & StrDriver & ";"
strConnect = strConnect & "SERVER=" & DBLocation & ";"
strConnect = strConnect & "DATABASE=" & dbName
sql="Select * from Employee"
Set session("oApp") = Server.CreateObject("CrystalRuntime.Application.11")
Set session("oRpt") = session("oApp").OpenReport("C:\REPORTS\RPT01.RPT", 1) 'USING TEST01 DATABASE
session("oRpt").MorePrintEngineErrorMessages = False
session("oRpt").EnableParameterPrompting = False
session("oRpt").DiscardSavedData
Set oADOConnection = Server.CreateObject("ADODB.Connection")
oADOConnection.Open (strConnect)
Set oADORecordset = Server.CreateObject("ADODB.Recordset")
Set oRptTable = session("oRpt").Database.Tables.Item(1)
oRptTable.SetDataSource oADORecordset, 3
session("oRpt").SQLQueryString = CStr(sql)
session("oRpt").ReadRecords
%>
Did you ever find a solution to this problem? I have the same problem when moving reports from development to Test to Production environments. If the DBName is not the same the report ignores the name provided at runtime.
Similar Messages
-
I have the code to read from a file but my problem is how to prompt the user for the file name at run time.
import java.io.File;
import java.io.FileNotFoundException;
import java.util.InputMismatchException;
import java.util.Scanner;
public class FileRead {
public static void main(String args[]) {
Scanner scan = null;
File file = new File("Results.txt");
String number;
try {
scan = new Scanner(file);
while (scan.hasNext()){
number = scan.next();
System.out.println(number);}
catch (FileNotFoundException ex1){
System.out.println("No such file");
catch (IllegalStateException ex2){
System.out.println("Did you close the read by mistake");
catch (InputMismatchException ex){
System.out.println("File structure incorrect");
finally{
scan.close();}
}Any hints would be greatly appreciated. Thank you in advanceI have read through some of the tutorials that you have directed me too and they are very useful, thank you. however there are still a few things that i am not clear about. I am using net beans 5.0 I have placed a text file named Results.txt into the project at the root so the program can view it.
When I use the code that you provided me with, does it matter where the file is, or will it look through everywhere on the hard drive to find a match?
This code compiles but at run time it comes up with this error
run-single:
java.lang.NoClassDefFoundError: NamedFile
Exception in thread "main"
Java Result: 1
BUILD SUCCESSFUL (total time: 3 seconds)
import java.util.Scanner;
import java.io.*;
class NamedFileInput
public static void main (String[] args) throws IOException
int num, square;
// this Scanner is used to read what the user enters
Scanner user = new Scanner( System.in );
String fileName;
System.out.print("File Name: ");
fileName = user.nextLine().trim();
File file = new File( fileName ); // create a File object
// this Scanner is used to read from the file
Scanner scan = new Scanner( file );
while( scan.hasNextInt() ) // is there more data to process?
num = scan.nextInt();
square = num * num ;
System.out.println("The square of " + num + " is " + square);
}his is the code that i used. It is the same as the code you posted for me (on chapter 23 I/O using Scanner and PrintStream) Sorry im just really stuck on this!! -
How to Change Crystal Report database name from visual basic code?
Hi all,
I have created a Crystal Report (CR) with .NET VB. I also have developd some UDTs for that pusrpose and everything is OK.
However I cannot use the same CR in another Company which has the same UDTs. I have not found how Connect to Company (in other words change the DB the report reads).
Any Idea?
Thanks,
Vangelis
Edited by: Vangelis Kanellopoulos on Jul 19, 2008 6:07 PM
Edited by: Vangelis Kanellopoulos on Jul 20, 2008 10:27 AM
Edited by: Vangelis Kanellopoulos on Jul 20, 2008 10:28 AMHi Vangelis,
Here's a simple VB class that has functions for setting the login details for the report and passing parameters.
Option Strict Off
Option Explicit On
Public Class CrystalFunctions
Enum ParamType As Integer
Int
Text
End Enum
Public Shared Sub SetCrystalLogin(ByVal sUser As String, ByVal sPassword As String, ByVal sServer As String, ByVal sCompanyDB As String, _
ByRef oRpt As CrystalDecisions.CrystalReports.Engine.ReportDocument)
Dim oDB As CrystalDecisions.CrystalReports.Engine.Database = oRpt.Database
Dim oTables As CrystalDecisions.CrystalReports.Engine.Tables = oDB.Tables
Dim oLogonInfo As CrystalDecisions.Shared.TableLogOnInfo
Dim oConnectInfo As CrystalDecisions.Shared.ConnectionInfo = New CrystalDecisions.Shared.ConnectionInfo()
oConnectInfo.DatabaseName = sCompanyDB
oConnectInfo.ServerName = sServer
oConnectInfo.UserID = sUser
oConnectInfo.Password = sPassword
' Set the logon credentials for all tables
For Each oTable As CrystalDecisions.CrystalReports.Engine.Table In oTables
oLogonInfo = oTable.LogOnInfo
oLogonInfo.ConnectionInfo = oConnectInfo
oTable.ApplyLogOnInfo(oLogonInfo)
Next
' Check for subreports
Dim oSections As CrystalDecisions.CrystalReports.Engine.Sections
Dim oSection As CrystalDecisions.CrystalReports.Engine.Section
Dim oRptObjs As CrystalDecisions.CrystalReports.Engine.ReportObjects
Dim oRptObj As CrystalDecisions.CrystalReports.Engine.ReportObject
Dim oSubRptObj As CrystalDecisions.CrystalReports.Engine.SubreportObject
Dim oSubRpt As New CrystalDecisions.CrystalReports.Engine.ReportDocument
oSections = oRpt.ReportDefinition.Sections
For Each oSection In oSections
oRptObjs = oSection.ReportObjects
For Each oRptObj In oRptObjs
If oRptObj.Kind = CrystalDecisions.Shared.ReportObjectKind.SubreportObject Then
' This is a subreport so set the logon credentials for this report's tables
oSubRptObj = CType(oRptObj, CrystalDecisions.CrystalReports.Engine.SubreportObject)
' Open the subreport
oSubRpt = oSubRptObj.OpenSubreport(oSubRptObj.SubreportName)
oDB = oSubRpt.Database
oTables = oDB.Tables
For Each oTable As CrystalDecisions.CrystalReports.Engine.Table In oTables
oLogonInfo = oTable.LogOnInfo
oLogonInfo.ConnectionInfo = oConnectInfo
oTable.ApplyLogOnInfo(oLogonInfo)
Next
End If
Next
Next
End Sub
Public Shared Sub SetCrystalParams(ByVal sFieldName As String, ByVal iDataType As ParamType, ByVal sVal As String, ByRef oRpt As CrystalDecisions.CrystalReports.Engine.ReportDocument)
Dim oFieldDefs As CrystalDecisions.CrystalReports.Engine.ParameterFieldDefinitions
Dim oFieldDef As CrystalDecisions.CrystalReports.Engine.ParameterFieldDefinition
Dim oParamVals As CrystalDecisions.Shared.ParameterValues
Dim oDiscreteVal As CrystalDecisions.Shared.ParameterDiscreteValue
oFieldDefs = oRpt.DataDefinition.ParameterFields
oFieldDef = oFieldDefs(sFieldName)
oParamVals = oFieldDef.CurrentValues
oParamVals.Clear()
oDiscreteVal = New CrystalDecisions.Shared.ParameterDiscreteValue()
Select Case iDataType
Case ParamType.Int
oDiscreteVal.Value = System.Convert.ToInt32(sVal)
Case ParamType.Text
oDiscreteVal.Value = sVal
End Select
oParamVals.Add(oDiscreteVal)
oFieldDef.ApplyCurrentValues(oParamVals)
End Sub
End Class
And here's how you would use them:
' Create an instance of the Crystal report
_rptCrystal = New CrystalDecisions.CrystalReports.Engine.ReportDocument()
_rptCrystal.Load(_oSBO.AddonPath + "\Reports\MyReport.rpt")
' Call SetCrystalLogin to see the logon information for all report tables
CrystalFunctions.SetCrystalLogin(sUser, sPassword, _oSBO.SboCompany.Server, _oSBO.SboCompany.CompanyDB, _rptCrystal)
' Set my report parameter value
CrystalFunctions.SetCrystalParams("MyParam", CrystalFunctions.ParamType.Int, 999, _rptCrystal)
' Print the report straight to the printer
_rptCrystal.PrintToPrinter(1, False, 0, 0)
The other way to approach this solution would be to base your Crystal report on a .NET dataset rather than a database connection. However, as you've already written your report, the code above is going to be simpler to implement.
Kind Regards,
Owen -
How to change crystal report data field at runtime ?
Hello everyone,
I have a Crystal Report file ,which i am using to generate report for my windows form project .
In that report i have a filed called as Quantity which data type is set as decimal, the requirement is like that the number of value those comes after decimal point that should be set according to the value which is given by the user at the run time .
For eg: If user gives 1 at the run time then the report Qty field value set one value after decimal point. Like 12.1
if user gives 2 then Qty field the value is 12.22 like tat but user can give from zero to any number.. and if it is zero it should not show decimal
Note: The main idea hear is how to change the filed in Crystal Report decimal point value by using code(or we say writing code we need to set manually as user input it will change)
Can any body help me how to solve this issue .
S.K NayakI think you could probably make the field you see a formula field and take a parameter as the number of decimal places.
totext converts a number to a string.
totext({decimalField}, 2)
That's 2 decimal places.
You could probably substitute a {parameter} for that 2.
If not then you could substitute an entire formula.
To explore formulas:
foreach (FormulaFieldDefinition f in rpt.DataDefinition.FormulaFields)
MessageBox.Show(f.Name);
// f.Text = your new formula
Where rpt is an instantiated report.
Or add another string field which you display in the column and do the calculation with the original decimal.
Hope that helps.
Recent Technet articles:
Property List Editing;
Dynamic XAML -
How to set crystal report image object's file path dynamically from file system in vb 2010
I using visual studio 2010 and sap crystal report is installed on it.
I have a report with picture box on it and i need to load image to this picture box from vb e.i.
Dim imgPhoto As CrystalDecisions.CrystalReports.Engine.PictureObject = crShortReport.ReportDefinition.Sections(3).ReportObjects("imgPhoto")
imgphoto.image= loadpicture("c:\abc.jpg")
So, please help...
ThanksCrystal reports is a thrid party program
and is
not supported by
Microsoft, you will have a beter chance getting help here
http://scn.sap.com/community/crystal-reports. -
How to change the font size and style on run time
dear all
i try to change the font style and font size on runtime. I did the following:
1- i created an item(:font_size) in which i will write the size of the font for the the other item ('customer_name')
2 on the post_change trigger for 'font_size' i write this code
SET_ITEM_PROPERTY('customer_name',FONT_size,(:font_size);
i write 12 then then font size changed , then i write 18 , the size does not change. and when i write any value , no change happens. I do not know why
the second problem is how to change the font style
i made three checkbooks (bold,italic,underline)
on the trugger when_checkbox_checked i write
IF :BOLD = 'B' THEN
SET_ITEM_PROPERTY('N_SAMPLE',FONT_STYLE,'BOLD');
ELSE
SET_ITEM_PROPERTY('N_SAMPLE',FONT_STYLE,'REGULAR');
END IF;
no change happend at all.
please helpHi friend,
it's a really really strange tip... May be it's a Forms bug? I've tried with set_item_property..and.. you're right, it doesn't work..
So.. you can try making this:
- create a visual attribute with an specific font size....
- use the
SET_ITEM_INSTANCE_PROPERTY('block.item',CURRENT_RECORD,VISUAL_ATTRIBUTE,'you_visual_attribute');
and call it from psot-change....
It works
Hope it helps,
Jose. -
Update step limit name at run-time
I need to run through some test steps in a TestStand sequence multiple times. This wouldn't be a loop on a single step or group of steps but probably a goto a label "for" loop in TestStand. BTW, TestStand 2.0.1 calling code from a LabWindows/CVI DLL via the standard prototype adapter. Each iteration I need to have the test step limit names be updated with a different suffix. So step1 might have results0 and results1 and on the 2nd run results0 would be renamed to results0b. How do I update the limit names, at run-time, from a LabWindows/CVI function? I.e. the first test in the sequence's Main would update the steps below it to update the suffix. I started down the path of using TS_SeqContextGetProperty to get the sequence handle
TS_SeqContextGetProperty( testData->seqContextCVI, &errorInfo, TS_SeqContextSequence, CAVT_OBJHANDLE, &seq_hndl );
then using TS_SequenceGetNumSteps( seq_hndl, &errorInfo, TS_StepGroup_Main, &num_steps ) to determine the number of steps in the Main tab.
Enter a for loop:
TS_PropertyGetValString( testData->seqContextCVI, &errorInfo, buf, TS_PropOption_NoOptions, ( char ** )&rslt_name ) with buf as "Sequence.Main[0].Result.Measurement[0]" errors out with an invalid name message. The idea is to get this value, update it based on the iteration in TestStand ( this is already acquired and working ), and then set the value back. Then, move on to the next step and so forth.
Any suggestions?
Thanks.
-G-
Solved!
Go to Solution.So, I tried the example and it works but only for a single step. I've tried two options: 1. having a single step that programmatically changes all the result names in all the other steps in the sequence. 2. having each step update the result names itself. For thought 1 the loop would run and the changes would occur but when the function was exited I'd get an exception from TestStand. No real information in the details as it looked like a memory corruption error. I then examined the details of what occurred and tried more experiments. If I had the loop have more than 1 iteration this behavior occurred. If I comment out the set function it still occurs. Then, for thought 2, it works like a champ on all the steps until I loop back to the top of the sequence. Then, on the first step ( 2nd time through ) it bombs out.
Attached is the code for the 2nd possible solution.
Does anyone know what the problem is or if there's a way to do this?
-G-
Attachments:
Change Step Name.txt 7 KB -
How to develop a report in Crystal with flexible database name?
Hello
I am a Project Manager of a project of developing reports in Crystal 11.
The idea is to develop reports on top of the content in MS SQL tables.
The initial testing and demonstration to the customer is done within the Crystal development environment.
In a later stage, we need to integrate the reports with C# WPF application, using Crystal control.
We currently use ODBC connections.
We want the flexibility to set the actual database dynamically, by using the "default database" of the ODBC connection (or any other way). In other words, we want not just the flexibility to change the database server, but work with different database names, like "ProductDB_TEST", "ProductDB_PROD" etc. - without changing the report.
Unfortunately, we got the answer from the developer that the database name should be pre-defined for a given report. Although the connection can be set to another server, the DB name cannot be set dynamically.
Looking into the "Database" -> "Show SQL Query" menu, we see the following piece inside the query:
INNER JOIN "DATABASE_NAME"."dbo"."IncidentTypeSnapshotData"
So it looks like the query itself contains the DB name.
Is it really a limitation of Crystal, or rather the developer working on the project doesn't know the trick?
Thanks for any hint
MaxCR CR 2011 / "Crystal reports For Visual Studio 2010", you are correct.
Re. the database thinggy. You can connect to a database via ODBC, OLE DB or in some instances natively. Once a report is created you an change the datasource. A good sample app on how to do this is csharp_win_dbengine / vb_win_dbengine. A link to the samples is here:
Crystal Reports for .NET SDK Samples - Business Intelligence (BusinessObjects) - SCN Wiki
More info on connecting to dbs and changing them is in the developer help files:
SAP Crystal Reports .NET SDK Developer Guide
SAP Crystal Reports .NET API Guide
More info on CR APIs for .NET (applies to all versions of CR and VS):
Crystal Reports for Visual Studio 2005 Walkthro... | SCN
You can also use ADO .NET Datasets and in this way you handle the database connections in your app. A good sample is csharp_win_adodotnet (also available in VB) - same link as above.
More info on datasets:
Crystal Reports Guide To ADO.NET
Crystal Reports for Visual Studio .NET - Walkthrough - Reporting Off ADO.NET Datasets
For more complicated operations (e.g.; changing a report from ODBC to OLE DB, changing one table, etc., you will want to use the InProc RAS SDK that is also available in CRVS. Developer help files are here:
Report Application Server .NET SDK Developer Guide
Report Application Server .NET API Guide
Sample apps are here:
NET RAS SDK Samples - Business Intelligence (BusinessObjects) - SCN Wiki
and here:
Crystal Reports .NET In Process RAS (Unmanaged) SDK Sample Applications
More info on RAS SDK:
How to Use The RAS SDK .NET With In-Process RAS Server
Lastly, do use the search box in the top right corner. I find simple search strings such as 'crystal net parameter' return best results (KBAs, Blogs, docs, wikis, discussions and more).
- Ludek -
How to do crystal reports in bi-7 i need clear steps
how to do crystal reports in bi-7 i need clear steps
Hi,
Please read the following documents.
I am sure that this is going to help you in creating crystal reports.
Regards,
Subha
Pls grant me points if it is found useful
Use
The Reporting Agent allows you to precalculate BEx queries (as useful queries) for Crystal reports in the background. This is a device used to improve system performance when executing Crystal reports.
Prerequisites
· In the BEx Query Designer, you have defined a useful query for Crystal Reports and determined variables for the required characteristics.
· You may want to apply a filter when precalculating this useful query using a control query (see Parameter Filtering in the section below). In this case, you need to have created an additional suitable query in the BEx Query Designer.
The associate variable must have the type Changeable with Query Navigation. Other variables can have any type.
Procedure
1. Choose the REPORTING_AGENT transaction code.
2. Select Precalculating Crystal Reports Queries and choose Execute.
3. Navigate to the required query in the left-hand Reporting Agent Settings tree.
4. You have the following options for creating a new setting:
- Choose New Setting from the context menu.
- Choose Create New Setting.
The New Reporting Agent Setting dialog box appears.
5. Enter a technical name and a description.
The following information is displayed on the General tab page:
- The functional area of the setting is Precalculation of Crystal Reports Queries.
- Information about the query for which you are creating a setting is shown under the Query group header (description, technical name, InfoProvider).
- After the setting has been saved for the first time, the system displays details of the last person who changed the setting and the time this change was made, under the Last Changed On/By group header.
- Under the Setting is Used in Packages group header, the system displays information about the packages in which the setting is used, and how they are scheduled. This information can only be displayed if you have defined the setting and assigned one or more scheduling packages to it.
6. Choose the Parameters tab page.
7. Determine whether precalculation of the Crystal Reports queries are to be parameterized using a filter and using variants.
For more information and recommendations for choosing parameters in a straightforward example, see Parameterizing Crystal Reports Queries Setting.
Filtering Parameters
No Filters
When you do not want to use a control query to precalculate variables, choose No Filter.
You can combine this option with parameterization using Variables (see below).
Explicitly Using Query Result
If you want to use a control query when filtering, choose Explicitly Using Query Result. You can now make entries in the Control Query and Variants fields.
Specify the technical name of the control query. Input help is available. After you save your entries, the system updates the information according to your selections.
You only need to specify a variant when the control query contains input-ready mandatory variables. This does not happen very often, however.
You can combine this option with parameterization using Variables (see below).
Parameter Variants
After making your setting for filtering a parameter, you can process variant for the individual characteristic values of the variables set in the useful query.
Note: The variable screen only offers such variables when they have not already been filled by the control query. (This can also include variables of type Changeable with Query Navigation, as long as they arent filled by the query).
You can choose from the following functions:
Create a Variant
A dialog box appears in which you can choose values for the SAP variables used in the useful query, in the Query Selection area. Input help is available for those InfoObjects for which SAP variables have been created.
Enter the required data.
Choose .
Change Variants
Delete Variants
If you have already created one or more variants, the system lists these in the lower part of the screen. Choose the variants you want to change or delete and choose the appropriate function. -
How to configure crystal report xml file as data source in BOE in Solaris?
Hi,
How to configure crystal reports from xml file as data source in Solaris? I didn't find any suitable driver for xml / excel files for sun solaris.
Which driver i have to use to connect xml file to crystal report to view my crystal report in solaris BOE?
And the same way excel file as data source for crystal report.
ThanksHi Don thanks for the reply,
In windows environment I donot have any problem when creating crystal report from Xml file and Excel file. After creating reports when I publish those into boe server in solaris, getting connection failed error.
My solaris BOE server doent have any network connection with windows machines. So i have to place the files in solaris server.
Below the steps what I tried:
1. Created crystal reports from cr designer in windows using ADO.Net(xml) and in another try with Xml webservices drivers. Reports works well as it should.
2. Saved in BOE repository in Solaris server from crystal reports and changed database configuration settings as:
-Used custom database logon information and specified cr_xml as custom driver.
-Chnaged database path to file directory path according to solaris server file path </app/../../>
-tried table prefix also
- Selected radio button use same database logon as when report is run saved.
My environment :
SAP BOXI3.1 sp3
crystal reports 2008 sp3
SunOS
Cr developing in windows 7.
For Excel I tried with ODBC in windows but I can't find any ODBC or JDBC drivers for Excel in solaris.
Any help to solve my issues
Thanks
Nagalla -
How to design crystal report multi column
how to design crystal report multi column
for example
id 1001 id 1002
id 1003
name dinesh name dk name
dkn
address kota address jaipur address delhi
pin 3260356 pin 546332 pin
675942
id 1004 id 1005
id 1006
name dinesh1 name dk1 name
dkn
address kota1 address jaipur1 address delhi
pin 32606 pin 546345 pin
675942
and so on....................DN
I am afraid you have come to the wrong place. MS does not support Crystal reports except for
"Microsoft supports setup and installation for the Crystal Reports products shipped with the Professional and Enterprise Editions of Microsoft Visual Basic for Windows versions 3.0, 4.0, 5.0 and 6.0."
For other support you need to contact
For other Crystal Reports support, please do not contact Microsoft. Please contact Crystal Decisions (formerly Seagate Software), which now owns and supports Crystal Report Writer.
http://support.microsoft.com/kb/100368
Wanikiya and Dyami--Team Zigzag -
How to Deploy crystal reports in BOE
Hi,
I have two questions.
1.How to deploy crystal reports in BOE server.
2.How many ways is there to deploy crystal reports in BOE server and name of the method is needed.
Anyone knows about these details could you please reply me
Regards
Babu NI am not sure what you are asking.
Are you trying to publish reports into Enterprise so they can be run from say infoview, scheduled etc? If so you can either use the publishing wizard or do a save as from the Crystal Reports designer and save them to Enterprise directly. -
How to create crystal reports using MSDE 2000?
Post Author: S_Muhilan
CA Forum: Deployment
Hi,
I am using Crystal report 8.5. My Database sqlserver 2000. I generated reports and are working fine.
Now I want to use MSDE 2000 instead of Sqlserver 2000 due to license factor.
My application is developed in VB 6. The all the parts of the application is working fine except the report.
All reports produced Database DLL error.
So I opened the report and try to verify the database. But it gives pdssql.dll not found. Database error.
After this error, I tried to create a new report and found that there is no option for MSDE 2000 database selection under more database.
I usually select Sql server 2000 database under More Database option of location wizard.
How to create crystal reports using MSDE 2000?
Is it due to crystal report 8.5 verison problem? I also have crystal report 11 licensed copy.
Please give me the good solution as early as possible
RegardsS. MuhilanTo use the inproc RAS SDK with CR.NET, you'd have to purchase either (1) Crystal Reports XI Release 2 Developer edition, and apply Service Pack 2 or above, or (2) Crystal Reports 2008 (not Crystal Reports Basic that comes with Visual Studio 2008).
Sincerely,
Ted Ueda -
How does one find out the database name , service name in a database
hi,
how do u find out the database name , service name , SID in a database.
Please reply.
Thanks ,
Regards,
RCThis particular information is available in the view V_$PARAMETER owned by SYS. But you can also login with Server Manager as user INTERNAL and run:
SHOW PARAMETERS
The entries pertaining to the naming of the database are:
1. db_name
2. db_domain
3. db_name
4. instance_name
5. service_names
GLOBAL_NAME is a static (not changing) Data Dictionary view which has just 1 attribute (column) called GLOBAL_NAME.
When you run:
select GLOBAL_NAME from GLOBAL_NAME;
You are returned the full global name of the database, i.e. the db_name and the db_domain joined together by dot (.) For e.g. if your db_name = mgmt and db_domain = tech.co.in, then your global_name will be MGMT.TECH.CO.IN.
Ciao.
null -
In R12 how to change concurrent output/log file name prefix?
how to change concurrent output/log file name prefix?
but i want to change change concurrent output/log file name prefix?You cannot, and I believe it is not supported for all concurrent requests -- Please log a SR to confirm this with Oracle support.
Thanks,
Hussein
Maybe you are looking for
-
How can I direct all my contact form replies (from my website), to my personal email address? I have embedded the code to my website but would like all of my contact form replies to be directed to my email address. How can I do this by revising the e
-
I login to skype using my microsoft account. I recently changed my email address on my microsoft account and my skype address changed automatically and allows me to login to skype with not problems. When I go to my account in skype the primary email
-
Ssh configuration issue by enable UsePrivilegeSeparation
Hi, I have the following error message after I set UsePrivilegeSeparation yes in /etc/ssh/sshd_configuration file: . Solaris 10 with default ssh version come with solaris 10 . After I set the line 'UsePrivilegeSeparation yes' then complain about user
-
Hi, There are a couple of questions pertaining to B2B that I have 1) Is it possible in B2B to keep track of documents based on the Interchange Control Number (ISA13 segment). Say if a TP was to send documents control number 1000,1001,1002 and misses
-
(261680070) Q SYNCH-11 How do my web service methods accees EJBs and java classes?
A<SYNCH-11> How do my web service methods accees EJBs and java classes? A<SYNCH-11> It is simple to use java classes, just do it as you would ordinarily. The .jws file really contains a simple class so you can program with it in the same way that you