How to Create a new LDAP database
I am trying to use the Addressbook4LDAP programme and I need to set up a new database for the addressbook. How do I do it? I have started the open directory service using Server Admin.
The final aim is to have a central address book for the firm via LDAP. Any help would be appreciated.
Thanks
Mike
I have managed to log into the xserve.local however when I try to create the database I get the note
Permission Denied
Do I have to log into the open directory to create a new databse? I used the following command in terminal
mkdir /var/db/openldap/addressbook-data
Thanks.
Mike
Similar Messages
-
How to create a new database in SUP
Hi,
Iam using SUP 2.1 ESD#1 licensed version
How to create a new database other than the default sampleDB.
Thanks,
B.UshasriHi B.Ushasri,
This is actually pretty easy.
1) open the Unwired Workspace (SDK in eclipse).
2) Bottom right, add a new Database connection with the following details:
Sybase ASA v12.x,
host=Your Sup box,
port=5500,
user=dba
password= Your password (default = dba)
3) Once you connect successfully, right click on the connection and choose the "Create database" option.
That should do it for you. It is the same connection as the sampleDB connection so if you already have that defined then its a simple, right click on it once connected and hit create database.
Hope that helps,
Brenton. -
How to Create A new Database in the oracle 10g XE
i have oracle 10g XE i tried to create a new database but its giveing me error when i execute the sql command that is create database testDatabase how to create a new database in oracle 10g XE
Hi there 785434,
(This is a generic SQL question relating to Database Triggers, please post future questions of this type into the relevant forum area.)
Moderator, please move this if able
I use Before Update and Before Delete Triggers to record a 'snapshot' of the row being changed in my applications.
Example:
CREATE TABLE TEST
DATA VARCHAR2(64 CHAR),
CREATING_USERID VARCHAR2(20 CHAR) DEFAULT user NOT NULL,
CREATED_DATE DATE NOT NULL,
CHANGED_BY_USERID VARCHAR2(20 CHAR),
CHANGED_DATE DATE
LOGGING
STORAGE
(MAXEXTENTS UNLIMITED);
CREATE TABLE TEST_HISTORY
DATA VARCHAR2(64 CHAR),
CREATING_USERID VARCHAR2(20 CHAR) DEFAULT user NOT NULL,
CREATED_DATE DATE NOT NULL,
CHANGED_BY_USERID VARCHAR2(20 CHAR),
CHANGED_DATE DATE,
CHANGE_DESCRIPTION
NOLOGGING
STORAGE
(MAXEXTENTS UNLIMITED);
CREATE OR REPLACE TRIGGER TRG_BU_TEST
BEFORE UPDATE ON TEST FOR EACH ROW
BEGIN
INSERT /*+ append */ INTO TEST_HISTORY
(DATA, CREATING_USERID, CREATED_DATE, CHANGED_BY_USERID, CHANGED_DATE, CHANGE_DESCRIPTION)
VALUES
(:old.DATA, :old.CREATING_USERID, :old.CREATED_DATE, USER, SYSDATE, 'UPDATE');
END;
CREATE OR REPLACE TRIGGER TRG_BD_TEST
BEFORE DELETE ON TEST FOR EACH ROW
BEGIN
INSERT /*+ append */ INTO TEST_HISTORY
(DATA, CREATING_USERID, CREATED_DATE, CHANGED_BY_USERID, CHANGED_DATE, CHANGE_DESCRIPTION)
VALUES
(:old.DATA, :old.CREATING_USERID, :old.CREATED_DATE, USER, SYSDATE, 'DELETE');
END;
Using triggers like this will record who made an update or delete to the database and record the row before it was changed.
Note that this method might not be suitable for very high transaction rates.
You will need to 'clear' these history tables as part of routine maintenance.
Hope that this Helps.
Ronald. -
How to create a new selection screen IN LOGICAL DATABASE PNPCE
how to create a new selection screen LDBS PNPCE
Hello Ankit,
Do you want to create a new selection screen in LDB PNPCE, or do you want to create a new selection screen in one of your reports using LDB PNPCE?
For later (which is more common), you can use HR Report Category.
Hope this helps.
Best Regards,
Biraju Rajyaguru -
How to create a new connection from SAPGUI to Test drive?
Hi,
I have installed Sap Netweaver Test drive on a linux virtual machine (windows host). The installation was successful and I was able to start the instance (application server and the database), yet I don't know how to create a new connection from my SAPGUI client (7.20) to this server. The static IP address of the server is 192.168.1.160.
I entered the following values for my new connection entry
Description: SAP Netweaver
Application server: 192.168.1.160
Instance number: 01
System ID: DB2
SAProuter: /H/192.168.1.160/S/3201/H/
But it does not work. Any idea about the values needed for creating a new entry?
Thanks in advance,
Dariyoosh>
Dibya R Das wrote:
> Why are you entering a router string? Can't you reach a box directly from your machine?
>
> Doesn't a ping to that host & a "telnet <host/ip address> 3201" work from your machine to the SAP System.
>
> Remove the router string you wont need if the above works.
>
> - Regards, Dibya
Hello there,
Thank you very much for your answer which solved my problem. In fact there was no need of providing router string.
Kind Regards,
Dariyoosh -
How to create / populate new table in MaxDB?
Dear All,
I'm a newbies in using MaxDB and still learning on it.
I've installed MaxDB Database Manager 7.6
I need help from all the experts here on the following "dumb" questions from me.
1) I can't create, modify or delete any table / data with Database Manager, am I right?
2) Should I start creating / populating tables with sqlcli or dbmcli? I was informed that I should use sqlcli instead or dbmcli.
3) What is the syntax for me to create new table, as well as add, modify and delete data within it?
Please assist to provide some guidance or at least point me to the right direction interm of documentation available.
THANK YOU VERY MUCH!!!
Much appreciated,
-Deric-> I've installed MaxDB Database Manager 7.6
>
> I need help from all the experts here on the following "dumb" questions from me.
>
> 1) I can't create, modify or delete any table / data with Database Manager, am I right?
Nope - the Database Manager is not able to to "sql-stuff".
You would want to use the Database Studio or the SQL Studio for that.
But as you're starting to learn anyhow, just go for the more modern Database Studio.
It combines the features of Database Manager and SQL Studio into one tool.
> 2) Should I start creating / populating tables with sqlcli or dbmcli? I was informed that I should use sqlcli instead or dbmcli.
Why would you want to learn SQL by working with command line tools?
Really, go for the Database Studio instead.
For simple SQL stuff via command line you may use sqlcli.
> 3) What is the syntax for me to create new table, as well as add, modify and delete data within it?
> Please assist to provide some guidance or at least point me to the right direction interm of documentation available.
You definitively need
a) read the tutorial in the [documentation|http://maxdb.sap.com/doc/7_7/d0/3e345709c044d4a954e3a8d0be0867/content.htm]
and
b) get a SQL learning book to really understand the concepts behind relational databases and the query language.
Learning SQL is not about knowing how to type the commands.
Most users learn the commands rather quickly.
But fully understanding the set-approach of relational databases and how to create and use those databases correctly is often not learned.
So make sure not to fall into this trap!
regards,
Lars -
Crystal Reports XI - How to create a new field using a formula field
I'm quite new to CR, but have been learning quickly!
I would like to know how to automatically create a new record/field based on another field in that row...
I have a report showing the following data:
Run Code Start KM Stop KM Status
H2 100 150 Partial
H2 150 155 Partial
H2 155 160 Partial
S3 120 150 Completed
The status is generated by comparing the 'Start KM' and 'Stop KM' against fields in another table called 'Start Odo' and 'Stop Odo'
In this example...
H2 has 'Start Odo' and 'Stop Odo' values of 90 to 160, therefore there is still 90-100 to check. The 'Start KM' and 'Stop KM' is equal to the 'start Odo' and 'stop Odo' for S3, therefore it shows completed.
My question is how do you create a formula field, which will add an entire row...displaying the values 90-100.
I've been trying to use a conditional check in the 'Start KM' column, that sees if status is equal to partial than if start km is greater than start odo (Which is the reference km) then display the value of start odo in the new row. I'm stuck at how to create a new row.
I want the final result to look like this...
Run Code Start KM Stop KM Status
H2 90 100 Partial
H2 100 150 Partial
H2 150 155 Partial
H2 155 160 Partial
S3 120 150 Completed
Any suggestions would be more than appreciatedHi Adi
Looking at your examples it seems that you want to add a row to the existing recordset (rows fetched from the database).
If it is the case (even if based on a formula) then you can not do it within crystal. Crystal is designed to display data and ideally it should not generate the new data.
However, as per your requirement you can try to add this logic at database end. May be a command object within Crystal Reports can help you.
Let me know if you do not understand anything.
Regards
Nikhil -
Create a new oracle database from OCI or OCCI client
Hi,
How can we create a new oracle database from OCI or OCCI client?
i am using the oracle 11gR2
Thanks in Advance,
Sreekanth PolakaThough I have not tried creating a database, try if its doable.
You can use OCI to perform SYSDBA operations.
So connect as OCI_SYSDBA and try executing the entire create database command. -
How to create a new variant and a job sheduled to use it for the exisisting programs
Hi
1. The ALV Grid Control is a tool with which you can output non-hierarchical lists in a
standardized format. The list data is displayed as a table on the screen.
The ALV Grid Control offers a range of interactive standard list functions that users need
frequently (find, sort, filter, calculate totals and subtotals, print, print preview, send list,
export list (in different formats), and so on. These functions are implemented in the
proxy object class. You as the programmer have the possibility to turn off functions not
needed. In most cases the implementations of the standard functions provided by the
control are sufficient. However, if required, you can adjust these implementations to
meet application-specific needs.
You can add self-defined functions to the toolbar, if necessary.
The ALV Grid Control allows users to adjust the layout of lists to meet their individual
requirements (for example, they can swap columns, hide columns, set filters for the
data to be displayed, calculate totals, and so on). The settings (list customizing) made
by a specific user are called a display variant. Display variants can be saved on a userspecific
or on a global basis. If such display variants exist for a list, they can be offered
to the user for selection. If a display variant is set as the default variant, the associated
list is always displayed based on the settings of this variant.
2. REUSE_ALV_LIST_DISPLAY
REUSE_ALV_GRID_DISPLAY
REUSE_ALV_FIELDCATALOG_MERGE
REUSE_ALV_COMMENTARY_WRITE
3. Use of Field Catalog is to determines the technical properties & add formating information of the column.
6. all the definition of internal table, structure, constants are declared in a type-pool called SLIS.
7.fieldcat-fieldname
fieldcat-ref_fieldname
fieldcat-tabname
fieldcat-seltext_m
5. Form user_command using r_ucomm like sy-ucomm rs_selfield type slis_selfield.
Sap provides a set of ALV (ABAP LIST VIEWER) function modules which can be put into use to embellish the output of a report. This set of ALV functions is used to enhance the readability and functionality of any report output. Cases arise in sap when the output of a report contains columns extending more than 255 characters in length.
In such cases, this set of ALV functions can help choose selected columns and arrange the different columns from a report output and also save different variants for report display. This is a very efficient tool for dynamically sorting and arranging the columns from a report output.
The report output can contain up to 90 columns in the display with the wide array of display options.
<b>The commonly used ALV functions used for this purpose are;</b>
1. REUSE_ALV_VARIANT_DEFAULT_GET
2. REUSE_ALV_VARIANT_F4
3. REUSE_ALV_VARIANT_EXISTENCE
4. REUSE_ALV_EVENTS_GET
5. REUSE_ALV_COMMENTARY_WRITE
6. REUSE_ALV_FIELDCATALOG_MERGE
7. REUSE_ALV_LIST_DISPLAY
8. REUSE_ALV_GRID_DISPLAY
9. REUSE_ALV_POPUP_TO_SELECT
Purpose of the above Functions are differ not all the functions are required in all the ALV Report.
But either no.7 or No.8 is there in the Program.
<b>
How you call this function in your report?</b>
After completion of all the data fetching from the database and append this data into an Internal Table. say I_ITAB.
Then use follwing function module.
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
I_CALLBACK_PROGRAM = 'Prog.name'
I_STRUCTURE_NAME = 'I_ITAB'
I_DEFAULT = 'X'
I_SAVE = 'A'
TABLES
T_OUTTAB = I_ITAB.
IF SY-SUBRC <> 0.
WRITE: 'SY-SUBRC: ', SY-SUBRC .
ENDIF.
ENDFORM. " GET_FINAL_DATA
The object F_IT_ALV has a field, the activity ACTVT, which can
contain four permitted values: 01, 02, 03 and 70. Each of the
activities 01, 02 and 70 controls the availability of particular
functions (in the menu and the toolbar) of the ALV line item list:
a) 01: "Settings -> Display variant -> Save..."
b) 02: "Settings -> Display variant -> Current..." and
"Settings -> Display variant -> Current header rows "
c) 70: "Settings -> Display variant -> Administration..."
Activity 03 corresponds to the minimum authorization, which is the
most restricted one: The user can only select layouts which have
been configured already. In particular, all of the other functions
named above are inactive with activity 03.
Now if you want to permit a user to change the column selection and
the headers as well as to save the layout thus created, for example,
but if you do not want to permit the user to administrate the
layouts, you grant him or her the authorization for activities 01
and 02.
Check this link it will be mosty usefull for u
http://www.sap-img.com/fu017.htm
Reward all helpfull answers
Regards
Pavan -
Hai , How to create 'Define New ' ?
hai,
How to create 'Define New ' in Combo box and then Enter the value in the user defined table how to get the value from the database table and display combo box ?Hi.
I used this example for the matrix column. It's work and open a form for defining new values.
Your need to add an event to refresh values in combobox.
Think I help you.
Best regards
Sierdna S.
P.S. How to proceed.
1) Fill the combobox with valid values:
Try
' Add first value to combobox
oCombo.ValidValues.Add("", "")
Dim oRS As SAPbobsCOM.Recordset
oRS = SBO_Company.GetBusinessObject(SAPbobsCOM.BoObjectTypes.BoRecordset)
Dim sSql As String = "SELECT Code, Name FROM [@" & sLinkedTable & "]"
oRS.DoQuery(sSql)
oRS.MoveFirst()
While oRS.EoF = False
oCombo.ValidValues.Add(oRS.Fields.Item("Code").Value, oRS.Fields.Item("Name").Value)
oRS.MoveNext()
End While
' Last value
oCombo.ValidValues.Add("Define","Define")
If Not oRS Is Nothing Then
System.Runtime.InteropServices.Marshal.ReleaseComObject(oRS)
oRS = Nothing
End If
System.GC.Collect() 'Release the handle to the table
Catch ex As Exception
' log exception
Finally
oCombo = Nothing
End Try
2) In Item event handler
If pVal.EventType = SAPbouiCOM.BoEventTypes.et_COMBO_SELECT _
And pVal.FormUID = sFormUID _
And pVal.ItemUID = sMatrixUID _
And pVal.ColUID = sColUID _
And pVal.BeforeAction = False _
And pVal.ItemChanged = True _
Then
Try
Dim oMatrix As SAPbouiCOM.Matrix
oMatrix = oForm.Items.Item(MatrixID).Specific
If oMatrix Is Nothing Then Throw New Exception("ERROR: matrix object is nothing"))
Try
Dim oCombo As SAPbouiCOM.ComboBox
Dim sValue As String = ""
oCombo = oMatrix.Columns.Item(sColUID).Cells.Item(pVal.Row).Specific
sValue = oCombo.Selected.Value
If sValue.Equals("Define") Then
Try
oCombo.Select(0, SAPbouiCOM.BoSearchKey.psk_Index)
oForm.Refresh()
Catch ex As Exception
' log exception
End Try
SBO_Application.Menus.Item("<menu id to activate>").Activate()
End If
BubbleEvent = False
Catch ex1 As Exception
' log exception
End Try
Catch ex As Exception
' log exception
End Try
End If -
Creating A New Oracle Database And Sql Developer
Hi,
I'm a newbie to Oracle and and a not so newbie to Sql Server and Visual Studio.
I am trying to learn Oracle on my local machine. I want to create a new Oracle Database and start learning from there.
I have downloaded sql developer, the data modeler, and the Oracle Client. Could someone please provide some guidance on how to create a Oracle Database?
From the responses, it appears that none of the items I mentioned actually creates a database. Sql Server provides a free download, also a developer version for a minimal fee. What specific Oracle product would be best to provide this type of service?
Thanks,
Mark
Edited by: user8948230 on Jan 7, 2010 9:50 AMuser8948230 wrote:
Hi,
I'm a newbie to Oracle and and a not so newbie to Sql Server and Visual Studio.
I am trying to learn Oracle on my local machine. I want to create a new Oracle Database and start learning from there.
I have downloaded sql developer, the data modeler, and the Oracle Client. Could someone please provide some guidance on how to create a Oracle Database?
From the responses, it appears that none of the items I mentioned actually creates a database. Sql Server provides a free download, also a developer version for a minimal fee. What specific Oracle product would be best to provide this type of service?
Thanks,
Mark
Edited by: user8948230 on Jan 7, 2010 9:50 AMIn addition to downloading and installing the database software to create a database, might I also suggest you start getting familiar with the documentation.
Learning where to look things up in the documentation is time well spent investing in your career. To that end, you should drop everything else you are doing and do the following:
Go to tahiti.oracle.com. Drill down to your product and version.
Spend a few minutes just getting familiar with what is available here. Take special note of the "books" and "search" tabs. Under the "books" tab you will find the complete documentation library.
Spend a few minutes just getting familiar with what kind of documentation is available there by simply browsing the titles under the "Books" tab.
Open the Reference Manual and spend a few minutes looking through the table of contents to get familiar with what kind of information is available there.
Do the same with the SQL Reference Manual.
Do the same with the Utilities manual.
You don't have to read the above in depth. They are reference manuals. Just get familiar with what is there to be referenced. Ninety percent of the questions asked on this forum can be answered in less than 5 minutes by simply searching one of the above manuals.
After you have familiarized yourself with what is available, read the "2-Day DBA" manual to help get you started.
Then set yourself a plan to dig deeper.
- Read a chapter a day from the Concepts Manual.
- Look in your alert log and find all the non-default initialization parms listed at instance startup. Then read up on each one of them in the Reference Manual.
- Take a look at your listener.ora, tnsnames.ora, and sqlnet.ora files. Go to the Network Administrators manual and read up on everything you see in those files.
- When you have finished reading the Concepts Manual, do it again.
Give a man a fish and he eats for a day. Teach a man to fish and he eats for a lifetime. -
How to create a new table based out of old data rows
Hi All,
How to create a new table based out of old data rows. Also how can we find out the DBF for different users in a database?
SaqibNot very clear what you need. I'll try to interpret...
How to create a new table based out of old data rowsIf this means how to create a table from an existing one, then you can do :
SQL> create table <new table> as select * from <old table>;
if you need a subset of rows you can add a where clause.
how can we find out the DBF for different users in a database?Here I need some more clarification. What do you mean exactly ? -
How to create a new admin user in oracle 9i?.
Hi I am new to oracle. I want to set up a new database for my application.
How to create a new admin user in oracle 9i?. I would like to have a new schema. where I can create tables for my application from scratch.If I understand your question correctly:
You need to be connected to the database with the user SYS.
open a command-line session and do the following to create an Oracle user with DBA option other than SYS.
C:\>sqlplus /nolog
SQL*Plus: Release 9.2.0.1.0 - Production on Fri Oct 14 08:46:13 2005
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
SQL> conn / as sysdba
Connected.
SQL>
SQL> create user test identified by pass;
User created.
SQL> grant create session to test;
Grant succeeded.
SQL> alter user test account unlock;
User altered.
SQL> grant dba to test with admin option;
Grant succeeded.
SQL> conn test/pass
Connected.
SQL>
SQL> sho user
USER is "TEST"
SQL>Now you have a user with username 'test' and password 'pass' with DBA role with Admin option
Tony Garabedian
From now on you can connect directly with SQL*Plus no need for comman-line. Just provide the username/password and you're logged in.
Message was edited by:
Tony Garabedian -
Creating A New MySQL Database With Coldfusion Code
Hi,
I was wondering if anyone knew how to create a whole entire
new database simply by executing a Coldfusion template (via a form
for example).
I'm pretty confident at creating a new table in an already
existing database but not sure how to go about creating an entirely
new database from pure ColdFusion code using MySQL.
I basically want to create some portal for myself to do this
to save on arduous time. It'll need to be a form because I'll have
to give it a name, username, password etc. I need the seperate
databases for my separate clients you see.
One point I should make is that it is on a shared server so I
don't have direct access to the CF Administrator.
Any advice on achieving this or highlighting the pitfalls
would be greatly appreciated.
Many thanks in advance!
Michael.quote:
Originally posted by:
Sabaidee
if it is on a shared server, then you very likely do not have
enough permissions to create new batabases in MySQL either...
is there an option for you in your hosting control panel (or
whatever it is called) to create a new MySQL database for your
account without any involvement of server admins? if so then,
technically you may be able to create a new db programmatically.
but i doubt you can...
I know it sounds cheeky but any chance you could supply
example code for doing this with ColdFusion and MySQL? This way I
will then be able to try it rather than waiting for my host to get
back to me.
I would have tried doing it already because I use SQL quite
often with queries etc, but I just don't have the technical know
how for this specific task at hand.
Many thanks for your help! -
How to Create the new Field ( Table - Row) in SAP B1
I have a scenario in which the Purchase calculation is based on LR, so for that we have to add new field in Purchase Document. that filed is not available in form setting. kindly let me know how to Create a new field in Purchase document.
ThanksHi,
I have adding new & existing forms and creating User Defined Field in row. example on adding a field in an existing Form and its corresponding to the database, including user input validations?
I want to add a new field in the detail section ( row area ) of a Production Document, and save it to database and read it back when the document is opened.
Thanks.
Syed Waqar Khurshid
Maybe you are looking for
-
Why does double clicking not work in photos on my Mac Mini?
Why can I not open a photo by double clicking my mouse in Photos App?
-
why do i have to pay more than once for my purchased album in itunes, when i download them again?
-
IMovie and iDVD in a professional environment
I am a professional designer predominantly for print and advertising. I have used iMovie and iDVD to create a few home movie DVDs here and there, which I really enjoy doing. But that is where my video production experience ends. I was thinking of off
-
Yahoo Pool from within open chat box crashing when using the mimimize butto
While using my version 5 update 6 SUN java and while playing yahoo pool in an open chat box I frequently need to use the minimize button. This causes a "crash" (read:program not responding) everytime!. I have done every tweak possible to my system us
-
Hello friends, Today one of our process chian is failed at step , related to infospoke - open hub service. <The error message is The third party status for request ATTRIBUTE_MSGV3 has not yet been set. > could you please let me know how to solve thi