Some database related Questions

1.Why using Index improve the performance , how will the data from the database is placed in the buffer ( as we see in the table or linear as per the buffer size)??
2. What happens when we create index for all the field, even it becomes like sequential read the performance will be improved right?
3. When a select statement is triggered, the corresponding table will come to buffer (if it is fully buffered) and the few records as per the given where condition is extracted adn placed Where?
4. I created a Ztable with three field numeric A , B and TOTAL and I am maintaining table maintence, so when ever i enter in SM30 field   A and B, TOTAL should be the appended automatically as the sum of a and b.whether is is possible how?
5.What is Composite Key? with a real time example?
regards,
Prabhu
POINTS ASSURED.

hi
when creating table primary key creates automatically
secondary index to be create according to user requirement
to resolve u r doubt simply create a select statement with where condition with non primary key field it wont fetch data if u create secondary index it will fetch data
buffered tables will be placed in apllication server ram
compositekey means combination of two primary keys
reward if u fin useful
regards
Nagesh .Paruchuri

Similar Messages

  • I have some database related questions

    hey all
    i am currently designing a java GUI program for a dvd renting shop.
    this program obviously needs a databse, i was just wondering how much possibly a database on a home pc could hold data because this shop have about 15000 DVD title and about 1500 client so i was wondering how much a mySQL databse table could hold....
    i also have another question...this shop have an access database...my question is can i use the existing database and querie it from my java program??? do i need a driver ??? can i querie an acces databse just like a regular SQL databse(e.g. SELECT * FROM TABLENAME) ????

    hey all
    i am currently designing a java GUI program for a dvd
    renting shop.Why not simply download JBoss Seam's DVD store example. It's fully coded for you already!
    this program obviously needs a databse, i was just
    wondering how much possibly a database on a home pc
    could hold data because this shop have about 15000
    DVD title and about 1500 client so i was wondering
    how much a mySQL databse table could hold....
    You will not have issues even with Access with that few a number of rows. Disk is really the only limitation on the size of the database. (There can be O/S or database specific limitations, such as 2GB of total size). So, do not worry about how many records.
    When you truly get a large number of records (tens of millions plus) or you are joining two large tables, then you can have performance issues. Good use of primary keys, indexes and database design can limit this issue.
    i also have another question...this shop have an
    access database...my question is can i use the
    existing database and querie it from my java
    program??? do i need a driver ??? can i querie an
    acces databse just like a regular SQL databse(e.g.
    SELECT * FROM TABLENAME) ????You can use Access, mySQL, Postgres or any number of other databases. Each will require (and will have on their site) a JDBC driver that you need to have on your application's CLASSPATH. My recommendation would be mySQL or Postgres. Both are free and excellent quality.
    As an aside, you should rarely SELECT * from any table (other than a code or lookup table). Use a WHERE clause to limit results. What user would possibly want to scroll through ALL 15,000 records? :^)
    - Saish

  • I want to check all functions of PCI 6534.I have read the user manual..I have some memory related questions.​Please help me for that.

    I want to check all functions of PCI 6534.I have read the user manual..I have some memory related questions.Please help me for that.
    1.)If i am using the continuous output mode.and the size of generated data is less than 32 MB.If i want to preload the memory,what should i do?I want that first of all i load all my data to onboard memory & then i want to make start the transfer between 6534 & peripheral.Is it possible?As per me it should be.Plz tell me how should i do this?I think that in normal procedure the transfer between 6534-peripheral & outputting data from pc buffer to onboard memory works parallely.But i don't want this.Is it poss
    ible?
    (2).Similarly in finite input operation(pattern I/O) is it possible to preload the memory and then i read it?Because i think that the PC memory will be loaded automatically when 6534 acquires the data and then when we use DIO read vi the pc buffer data will be transferred to application buffer.If this is true,i do not want this.Is it possible?
    (3) One more question is there if i am using normal operation onboard memory will be used bydefault right?Now if i want to use DMA and if i have data of 512 bytes to acquire.How will it work and how should i do it?Please tell me the sequence of operations.As per my knowledge in normal DMA operation we have 32 Bytes FIFO is there so after acquisition of 32 bytes only i can read it.How it will known to me that 32 bytes acquisition is complete?Next,If i want to acquire each byte separately using DMA interrupts what should i do?Provide me the name of sourse from which i can get details about onboard memory & DMA process of 6534 specifically
    (4).In 6534 pattern Input mode,if i want to but only 10 bits of data.and i don't want to waste any data line what should i do?

    Hi Vishal,
    I'll try to answer your questions as best I can.
    1) It is definitely possible to preload data to the 32MB memory (per group) and start the acquisition after you have preloaded the memory. There are example programs on ni.com/support under Example Code for pattern generation and the 6534 that demonstrate which functions to use for this. Also, if your PC memory buffer is less than 32MB, it will automatically be loaded to the card. If you are in continuous mode however, you can choose to loop using the on-board memory or you can constantly be reading the PC memory buffer as you update it with your application environment.
    2) Yes, your data will automatically be loaded into the card's onboard memory. It will however be transferred as quickly as possible to the DMA FIFO on the card and then transferred to the PC memory buffer through DMA. It is not going to wait until the whole onboard memory is filled before it transfers. It will transfer throughout the acquisition process.
    3) Vishal, searching the example programs will give you many of the details of programming this type of application. I don't know you application software so I can't give you the exact functions but it is easiest to look at the examples on the net (or the shipping examples with your software). Now if you are acquiring 512 bytes of data, you will start to fill your onboard memory and at the same time, data will be sent to the DMA FIFO. When the FIFO is ready to send data to the PC memory buffer, it will (the exact algorithm is dependent on many things regarding how large the DMA packet is etc.).
    4) If I understand you correctly, you want to know if you waste the other 6 bits if you only need to acquire on 10 lines. The answer to this is Yes. Although you are only acquiring 10 bits, it is acquired as a complete word (16bits) and packed and sent using DMA. You application software (NI-DAQ driver) will filter out the last 6 bits of non-data.
    Hope that answers your questions. Once again, the example code on the NI site is a great place to start this type of project. Have a good day.
    Ron

  • Database related question

    Hey all Experts out here,
    I'm writing a situation here and i want the best solution available for that. I have to read some backup tables(around 15). Modify some Data in those tables(based upon certain conditions) and then insert that data to original table.
    Heres the solution I'm thinking off.
    Read Data from Backup table and save each row as a HashMap and All rows in a ArrayList.
    Iterate through ArrayList and update the data in HashMap based on certain conditions and then extract the data from HashMap and insert it in original table.
    I know this solution is not the best one. So can you guys please suggest me the best way to do it.
    Thanks and Appreciate your time to read this.
    sam

    just to clarify I'm not sure how my solution is
    client side. it is server side. you could do it
    through whatever basic client comes with your
    database or do it through a Java program if you
    must.If you read all of the data from the RDBMS to a Java
    application, that's client side. The RDBMS is the
    server, the Java application is its client (even if
    that Java application is a server in another context).right. but I suggested...
    CREATE TABLES...
    INSERT INTO SELECT
    UPDATE
    more INSERT INTO SELECT
    DROP TABLES
    so no client side data manipulation there.. you could write a stored procedure for the whole thing.

  • MySQL database relation question

    I'm setting up a site where registered users can catalog
    their Japanese Vinyl toys (i.e. vinyl kaiju). I have 2 tables:
    collection
    members
    members has an ID that is specific to each member
    (naturally). within collection I have kaijuID and userID.
    What I need to figure out is the best way to get the ID from
    the member table to populate within the collection table, thus
    allowing each registered user to see just their collection.
    I can wrap my head around displaying the collection based on
    the user ID -- I just can't figure out where to add the user ID
    information into the collection database.
    The site structure has:
    login page
    member home page
    add kaiju
    view kaiju
    update kaiju
    search kaiju
    the add / view / update / search pages will all utilize the
    ID's. Not a big deal since I can have the user ID as a base for the
    results on these pages. it's the adding a new kaiju part that I
    can't figure out. Where would this form associate the logged in
    user so that it silently adds in their ID along with the toy info?
    A hidden field would be a natural assumption -- would that be part
    of the submit action?
    So basically here's the breakdown:
    User A has an ID of 001
    User A wants to catalog 2 kaiju: Godzilla and Gamera
    When User A submits these two each will need to have the 001
    user ID added to the collection table column labeled as userID
    (which is the same as the column in the member table).
    Which will allow the viewed collection to specifically show
    just member 001's collection.
    phew. Any suggestions would be appreciated. I looked through
    the CS3 documentation and got this far but didn't see anything for
    relational databases.
    Thanks!

    tried doing that and it wasn't working. When I had added the
    binding the vinyl I had added in as a test wouldn't display.
    What would be ideal is the following:
    all new users are assigned a userID in the MEMBERS table.
    this is an auto-incrementing (primary key) value that is unique to
    each user.
    in the COLLECTIONS table there's a column called userID. when
    a user is logged in, then any new addition to the COLLECTIONS table
    will add in their userID on the backend so that each user's entries
    are tied in to their userID.
    I first tried adding in the session_start code on all pages
    and then the filter to the recordset. rather than using filter:
    user_name I went with filter: userID. That didn't do anything but
    killed the display of any new additions to the view page.
    I then tried setting up a binding to a hidden field in the
    add form:
    <input name="userID" type="hidden" value="<?php echo
    $_SESSION['userID']; ?>" />
    which might have been successful, although I got a message
    saying that userID cannot be null, so when I switched it to NULL
    the entry didn't register anything in the COLLECTION --> userID
    column but a NULL.
    Would part of the problem be that userID in the MEMBERS table
    is the key? I already have a column in MEMBERS that is usrname --
    which would be easy to change in COLLECTIONS (from userID to
    usrname) although I wasn't sure if that would do anything either
    way.
    Also, since the session isn't labeled, such as
    <?php echo $_SESSION['userID']; ?>
    then how, based on your helpful suggestion, will the pages
    know the specific session ID?
    so close....

  • Duplicate target database related questions

    I have several questions regarding duplicate database and please help me in understanding this process. I really appreciate it.
    1) When I look through log file of duplicate command it looks like the control file be created twice. One is after the restore and the other one is after recover. Am I right and why?
    2) What exactly this command "switch clone datafile all;" do?
    3) How to bring the other node into cluster db after clone from a single instance to one of the node in a cluster?
    Thank you very much for your help!!
    Shirley

    1) When I look through log file of duplicate command it looks like the control file be created twice. One is after the restore and the other one is after recover. Am I right and why?Creates only once. Control file creation after recovery does not make sense to me. You will have to recover again if your controlfile is recreated
    What exactly this command "switch clone datafile all;" This is like saying "Dear controlfile, please recreate it by changing all your source datafile locations to the newones mentioned in the duplicate database". For most practical scenarios, you will use DB_FILE_NAME_CONVERT that will map source database file locations to the new file locations for the duplicate database.
    How to bring the other node into cluster db after clone from a single instance to one of the node in a cluster?Just use a "single instance to RAC conversion" method. Once a duplicate database is created it can be used like any other database.
    Message was edited by:
    Srinivas.R

  • Some bios related questions

    ill make this as short as possible..im new to the 939 socket..and this k8n neo2 F...theres a few thing in bios i dont understand..and the manuall only tells you how to change them...not what the actually do
    1st:spectrum spread...atm its disabled..i cannot enable it( i dont know y)whats this feature do?
    2nd:HT frequency...atm its at 5x..what does this do..and what do the values mean(what is best to have set)
    and 3rd:Adjust CPU ratio...its set to "Startup" but i have x4 and x20 as options..what does this function do for me..and whats best to have?
    sorry if this n noob questions..but i wont go messing with things there i dont understand

    Simple questions require a simple answer.
    However,simple questions are more often cause for confusion also.
    1: the spectrum checks for interferences made to your harddrive that can cause damaged data.Think of it like holding a magnetic source in front of your monitor,the screen will warp.
    When overclocking it's disabled by default and greyed out.
    Most users have this disabled (I have from the first pc that used this feature)
    2:HT frequency=hyper transport bus.You got a 200mhz system and this bus can run at 1000.
    Hence,5x200=1000   I have read that anything above 800 will show little to zero performance decrease.
    So 4x200=800 and still fine,but if you plan to set a higher frequency for the cpu (starts at 200mhz) this sum is not x200 anymore but what you set.So setting the cpu at 250 means your multiplier (cpu ratio) multiplies with this.
    So if your multiplier is 10 you get 10x250mhz=2500mhz.
    But now the HT bus also kicks in,so you get 5x250 (instead of 5x200 which was default) =1250 <> no boot or bsod (blue screen of death)
    Set it at 4x and you get 4x250= a perfect 1000 again.
    3: cpu ratio is the multiplier build in the cpu.You can lower it on most modern cpu's.But the higher ones are usually locked.
    To make things simple (a rather comprehensive answer opposed to my first line) everything travels over the all important cpu bus,and that's 200mhz by default(msi gives 201 after boot) so anything else multiplies with that.That's why the HT is at 5x and the cpu at 10x if you got for example a 2Ghz cpu.
    You have multiplier 12x200mhz=2.4Ghz
    Your multipliers are unlocked so you can set manually lower and higher values.But this cpu is supposed to run at 2.4 so setting this higher gives you more mhz. but most likely you also need more vcore to make it work.
    Keep it at auto and if you plan on overclocking it's best to read some threads about that first.
    Goodluck.

  • [SOLVED] Some UEFI related questions.

    To the better understanding of this topic, I would first describe my (related) hardware setup:
    Gigabyte GA-H77-DS3H motherboard,
    one Kingston 16Gb SSD Drive
    one Western Digital Sata2 HDD (320 Gb)
    First thing is, that I wanted to install Windows 7 (64bits) in UEFI-GPT mode on the Western Digital drive, but simply no UEFI boot option was presented to me when I booted the installation medium. So I left it alone and installed W7 in BIOS-MBR mode.
    Then, as the motherboard's BIOS supports UEFI and Legacy Bios booting too, I installed Arch in about ten minutes in UEFI mode on my SSD, with GRUB in UEFI mode. It works.
    Now the problem is, that I cannot configure GRUB that it loads Windows from the WD drive.
    I've tried several things.
    First, I've tried os-prober. It finds absolutely nothing, not even memtest. The windows 7 loader is invisible to this one.
    Then I've found this one: https://wiki.archlinux.org/index.php/GR … S-MBR_mode
    So I've tried it, made the /etc/grub.d/40_custom with the related data (i.e. partition UUID, hints...), it could not boot.
    The problem is, that the ntldr module does not exist (I've checked and double checked /usr/lib/grub/x86_64-efi/ , there is no such module.)
    So:
    If I want to dualboot in UEFI mode, do I have to install Arch AND Windows in UEFI mode too?
    Why does os-prober not find my BIOS-MBR installed Win7?
    Why does os-prober not find my Memtest?
    (For the moment, I re verted my arch install to boot from a GPT-BIOS partition, and found all my other stuff with os-prober...)
    Last edited by scar (2013-10-02 14:03:52)

    You cannot chainload Windows BIOS from UEFI GRUB. Same goes for Windows UEFI from BIOS GRUB. You might have better luck with rEFInd tough. See "Booting Legacy OSes" section in http://www.rodsbooks.com/refind/using.html . Slightly similar issue - https://bbs.archlinux.org/viewtopic.php … 3#p1331373 .
    EDIT 1: Since you mention that you have switched the Arch install in your SSD to BIOS-GPT, you can try https://wiki.archlinux.org/index.php/GR … S-MBR_mode to chainload Windows installed in BIOS-MBR mode in HDD. It should work as long as GRUB is installed in BIOS mode (either in the GPT SSD or in the MBR HDD) and the HDD (in which Windows BIOS is installed) stays as MBR. os-prober does not always work properly (more so in case of UEFI) and it is not maintained by GRUB upstream.
    EDIT 2: Most likely there should be an option in the BIOS/Firmware setup that disables "Legacy BIOS" (or CSM) support, making sure only UEFI boot mode is enabled. If that exists, you can try enabling "UEFI only" mode, and then try to UEFI boot Windows setup from a FAT32 USB, similar to the way you booted Arch Install ISO in UEFI mode (simply extract the Windows ISO files to the USB and then launch it from the firmware). For more info see https://gitorious.org/tianocore_uefi_du … I_boot_USB and https://gitorious.org/tianocore_uefi_du … I_only_ISO (not related to Linux, but useful for UEFI dual-booters).
    EDIT 3: I suggest moving Arch back to UEFI-GPT and re-installing Windows in UEFI-GPT now rather than having to change later in the future when the need arises.  If you are adventurous, and want to convert existing Windows BIOS-MBR install to UEFI-GPT, you can try https://gitorious.org/tianocore_uefi_du … OS_to_UEFI .
    EDIT 4: Memtest, the one packaged by Arch - https://www.archlinux.org/packages/extr … emtest86+/ , is a BIOS based utility, so it will not work with UEFI GRUB.
    Last edited by the.ridikulus.rat (2013-09-30 17:11:26)

  • Sdl-pulse (AUR) vs pulse + some pulse related questions

    Hello everyone. I've been using Arch for over a month now, and I'm very very satisfied No more distro hopping, everything works as expected, except sdl from extra. I still have issues with sound in wesnoth with sdl 1.2.14-1. Sometimes (well, actually quite often) sound begins to stutter while playing, then it dies. In these instances I'm unable to quit the game, have to kill it (with -9) from a console.
    Decided to try out sdl-pulse from AUR. Was hesitant at first because I read that in the latest version issues with pulse were solved, patches merged, etc... This doesn't seem to be the case. Sdl-pulse from AUR works without any problems, while pulse from extra most definitely does not, on my system at least. So my question is this: will sdl-pulse be removed from AUR now that it's flagged out of date? I hope not (I know I can still use it) because apparently fedora's patches seem to be better than the official release.
    On a side note, what's your experience with pulse? I had to install a couple of packages from AUR to get everything working. Notably xine-lib-pulse (for KDE recognized pulse only after installing this), mplayer-pulse, bin32-skype-pulse and libflashsupport-pulse. Now everything works perfectly, can play flash in a browser while listening to music and watching video with sound in mplayer, skype works too (this was basically my goal). Now that every distro seems to be moving towards pulse, will pulse be better supported (from official repos) in the near future? I mean, is there any drawback to shipping mplayer with pulse support by default? If I understand it correctly, mplayer compiled with pulse support will work fine on pulse-less systems... No difference, right? What about the other packages (xine, flash, etc.)?

    I gave pulse a shot recently. It works remarkably well _if_ you have everything setup right.
    But so does alsa.

  • Some IPCC related questions

    Hi..
    I have a customer , who is experiencing an issue like, all of their agents  state changes to not ready simultaneously. sometimes all the agents goes to logout state. I have check the logs, where i couldnt find major erros. IPCC server restart solves the issue for few days and again same problem arraises.
    "Application manager is showing PARTIAL_SERVICE", is this anything to do with this major issue??
    second issue with another client, Agent dissappears and then appears to supervisor window. And Call groups are not identified properly. E.g. under B group, some A agents appear.reason why this happens?
    Your help would be highly appreciated.
    Thank you.

    Hi Walter,
    Thank you for your helpful responce.
    Regarding the agents disappearing of the CSD,
    I checked the port communication between IPCC server, CSD and CAD, and found CAD side firewall is blocking the server port (59000) and CSD port (59021). I think this might be the cause of the problem.
    For the agents not appering under the proper teams
    Since customer is using UCCX version 6.0(1), i couldnt find manual synchronization option under Team Admin (Workflow admin). I'll go through it again and have a check.
    "Application Manager" service is showing like PARTIAL service
    There was some script name mismatch, i was able to sort this PARTIAL service issue.
    I really appreciate your support.
    Have a nice day
    Kajen

  • Some tech related questions...

    Ok, I know enough about computers, but with switching to a mac, hardware issues are becoming somewhat confusing to me. I bought this http://www.newegg.com/product/product.asp?item=N82E16822136032 to use with my macbook pro over eSATA, but I wanna sell my macbook for a mac pro. Can I take that hard drive out of the external casing and install it inside the Mac Pro? Is is it compatible? I ask because someone recommended this HD to me to use in the casing, so I don't know if there's something weird about it that's only used for external casings.
    Also, is there RAM outside of Apple's RAM that works? Apple's RAM is ridiculously over priced. I think they should be taken to court over it somehow. It's truly robbery. Regardless, any RAM I can buy from third parties?
    Can other graphics cards be installed in the Mac? As in can I have the graphics card it comes with and install a PC one inside so, even if the OS X can't use it, when I boot up in Windows, it can use it for gaming?
    I think that's all! Thanks for any help!

    As long as the drive is SATA it can be reformatted for the Mac Pro.
    If you can find a third party company with exactly the same RAM specs then go ahead and install it yourself, that's what a lot of Mac users do.
    Just be warned that second tier RAM isn't worth the trouble of getting it, installing it, troubleshooting it and returning it just to repeat the cycle again.
    Buy top tier tested RAM and it should work the first time.
    As of this time there is no third party PCI express third party video card options (or much of anything else really) for Mac's. That will change over time of course, but for now it's best to buy the next level up video card.
    No you can't place a PC video card in a Mac unless your able to flash it for a Mac. You could lose the whole card in the process.
    You see even though Windows can run on a Mac, there are drivers that have to be installed for the hardware.

  • Some Kernel and optimization related questions

    Last monday I asked about what was the best way to compile a kernel to apply a patch ( solving an hibernation resuming problem). Using the ABS turned to be an easy solution with a shiny patched kernel that works GREAT. Yestertay, I tried e4rat in order to speed up my boot process, wich now takes 1 min or so from burg to kde4 with Chrome, Eclipse, Spideroak and Dropbox all full loaded and functional on my laptop when before using E4rat that took nearly 3-4 minutes.
    Laptop specs: Fujitsu Esprimo Mobile V6535 --> Intel T4300, 4 GB 800MHz DDR2 RAM, Intel GMA 4500M, atheros wifi chipset. Non-laptop related hardware (if needed to have in mind) Microsoft Natural Ergonomic Keyboard 4000 and Lifechat LX3000 headset, Logitech G5 mouse.
    Currently the laptop is my main computer and used to internet-browsing, programming and sometimes to watch movies. No games.
    I really enjoyed all the tweaking involved on the last week with the kernel patching and e4rat, so I want more.
    Ok then, I was going to try readahead ( https://wiki.archlinux.org/index.php/Readahead ) and then I see that on the AUR there are some packages related to it, and this is the point when the questions come:
    1) The article on the wiki points out to readahead-list, but there what seems to me another implementation, readahead-fedora. To me it seems obvious that the implementation may be different, but, what are the differences betweent the two?
    2) what has to do ureadahead with the two said before? Plus, what is the point with the package description? "ureadahead is used during boot to read files in advance. readahead-list and sreadahead are out-of-date. Needs patched kernel!" The last part has not problem to me as kernel26-yi 2.6.38.2-2 seems to patch the kernel to support ureadahead, but is the first sentence, the one that talks about readahead-{list,fedora} being outdated. Could someone clarify this?
    3) About kernel26-yi 2.6.38.2-2. ¿Does only a kernel install or a full compilation? ¿What kind of patches does it ship with? (Aside from ureadahead support)
    4) https://wiki.archlinux.org/index.php/Im … tom_Kernel . Aside from the warning about the possible trouble with modules, is there any kind of common incidence with that options? Any kind of suggestion about more config options related to performance or to have in mind?
    5) Any other kind of suggestion?
    Feel free to suggest any option that trades RAM for performance, currently only a third of my RAM is used (or said in other words, more than half of my RAM is being unused (therefore useless)) and only gets to half or 2/3 when virtualbox is launched (twice everyday, during 5 mins or so)
    Thank you all in advance for your help.
    EDIT: I forgot to say, I like KDE and changing it is not an option, but feel fre to comment options on that way if you consider it would be a big deal.
    Last edited by ethail (2011-04-16 18:55:26)

    Yes, I forgot to mention that, but already using fastboot parameter (if that is the fastboot on my burg linux line, then i'm using it). As said, I'm very happy with my current status about booting and performance, no complains, only that something inside me wants to keep pushing on this.
    I read a bit about BFS and the CK patches today, maybe I'll give it a try, maybe not now, but someday sure.
    demian wrote: I tried it once and for some activities it improved performance quite noticably.
    Did you notice some kind of performance decrease on other activities?

  • Java application- database related concept question

    hi Friends,
    I have 2 concept related questions,can someone please help me on how to implement them.I am making a java-based VOTING application.First thing,I am making a generic application,so I
    don't know how many contestants would be there in each contest.
    So,how can I design my database table??Should I try to create a database table on the fly,depending upon how many contestant are there to participitate??
    Secondly,if somebody sends a vote like "contest_name contestant_name",I want to increment the counter of that particular person by one.So,should i have a separate database table,with the
    name of all the contestant and their repective counters.What if somebody sends a wrong contestant name,do i need to query the database for that too,or i can store beforehand all the contestant names in the session or somewhere else.........please help
    Thanks

    Layer 4.

  • Appleworks Database Format Questions

    The first thing I want to do is create a database, enter data into it, and create a printout form which easily distinguishes the data--with AT LEAST a line printed between each record.
    Okay, so far I have created all the fields to enter one record. In the Layout View, I got the fonts, styles, sizes, and alignment of the fields in relation to each other to look pretty good--at least if the Print Preview is accurate. In the List View, the records are in columns of equal size, regardless of the size and type of record. Is this the only way it works?
    Also, when I start entering data, how do I:
    --Create a second, third, and so on up to hundreds and thousands of records?
    --Fix the printout to print a certain number of records per page, with none "lost" or cut off between pages, and with at least a solid line between each record so I can tell at a glance where each leaves off?
    Thanks for any assistance in clearing any of this up!

    Hi Cornelia,
    To increase the amount of space after a record in your layout, drag the Body boundary down a bit. Use the line tool to draw a separator line in this space if you wish. These operations must be done in Layout mode (Go Layout > Layout).
    "List" is a 'quick & dirty' way to view your data, not a 'real' layout.
    You can change the width of columns by dragging the right boundary of the column header left or right. You can change the order of the columns by dragging the column header to a new location.
    You can change the order of records by grabbing a row header and dragging the row to a new location. And you can grab and drag the bottom boundary of a row to change the height of that row. This last is not terribly useful though, as moving the data (record) does not move the location of the widened row to follow its data.
    To create a new record, use Edit > New Record, or press command-R.
    To duplicate an existing record, use Edit > Duplicate Record, or press command-D.
    The DB will, by default, print as many records as will fit on a page, and will not run one record over a page boundary. Layout size is limited to a single page.
    If you haven't yet done so (and some of your questions would indicate that you haven't), read the database related articles in the "Organizing Information" section of AppleWorks Help (Go Help > AppleWorks Help). You may also find it useful to examine the sample databases found in the Templates section of Starting Points and the Address List databases constructed by the Address List Assistant, also in Starting Points.
    Regards,
    Barry

  • Collaboration Room iViews give error -- Database related errors -- Pls Help

    Hello Everyone,
    We are on EP 6.0 SP 17 (Netweaver 2004).
    KMC component was installed separately (Deployed manually).
    We are trying to create simple Collaboration Rooms and we are facing some issues with the same.
    I am following the documentation on SAP Help for the Room Creation:
    Help &#61664; SAP Netweaver 2004 &#61664; People Integration &#61664; Collaboration &#61664; Administration Guide
    http://help.sap.com/saphelp_nw04/helpdata/en/1d/3d59fdaa5ebb45967ea107d3fa117a/frameset.htm
    We are able to create rooms based on pre-defined templates and we are also able to add members to rooms, send/receive the invitation emails. I am able to work with Instant Messaging also.
    But the problem is that some of the iViews related to Collaboration Rooms are giving errors.
    1.<b> “Discussion” iView gives an error saying “You do not have access permission” (even the user has all the necessary roles assigned).</b>
    Log for this error is as follows:
    Exception ID = 90c3315f-c29d-2910-87ac-806aa372da7f com.sapportals.wdf.WdfError     at com.sapportals.wdf.WdfCompositeController.buildComposition(WdfCompositeController.java:678)at com.sapportals.htmlb.AbstractCompositeComponent.preRender(AbstractCompositeComponent.java:33)
         at com.sapportals.htmlb.Container.preRender(Container.java:120)
         at com.sapportals.htmlb.Container.preRender(Container.java:120)
         at com.sapportals.htmlb.Container.preRender(Container.java:120) ……….
    --- Nested WDF Exception -
    com.sapportals.wcm.WcmException: The SQL statement "INSERT INTO "KMC_URIMAPPER" ("HASH_KEY","EXTERNAL_KEY","CONST_INTERNAL","VAR_INTERNAL","EK_PREFIX","EKHK00","EKHK01","EKHK02","EKHK03","EKHK04","EKHK05","EKHK06","EKHK07","EKHK08","EKHK09","EKHK10","EKHK11","EKHK12","EKHK13","EKHK14") VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)" contains the semantics error[s]: column "EK_PREFIX" not in any scope
    I tried to change the permissions of the “Discussion” iView, but it did not work either.
    2. <b>Some iViews like “Room Information” throw a Runtime Error as follows:</b>
    Portal Runtime Error
    An exception occurred while processing a request for :
    iView : pcd:portal_content/com.sap.ip.collaboration/RoomPartContent/Generic/Pages/com.sap.netweaver.coll.RoomDiscussionPage/com.sap.netweaver.coll.RoomInformationExtended
    Component Name : com.sap.netweaver.coll.appl.ui.room.RoomInformation
    The exception was logged. Inform your system administrator..
    Exception id: 02:17_02/02/07_0006_213711350
    See the details for the exception ID in the log file
    <b>I have figured out that the following error message is common in most or the error messages:
    The SQL statement "INSERT INTO "KMC_URIMAPPER" ("HASH_KEY","EXTERNAL_KEY","CONST_INTERNAL","VAR_INTERNAL","EK_PREFIX","EKHK00","EKHK01","EKHK02","EKHK03","EKHK04","EKHK05","EKHK06","EKHK07","EKHK08","EKHK09","EKHK10","EKHK11","EKHK12","EKHK13","EKHK14") VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)" contains the semantics error[s]: column "EK_PREFIX" not in any scope</b>
    Are there any database related configurations required for making the Collaboration Room Discussion functionality work properly?
    Are there any KM related configurations necessary other than those mentioned in the document I am referring to?
    Are there any database related configurations that are required?
    I would really appreciate any help in this matter. Please advise me about any ideas you may have?
    Thanks,
    Raj Seelam

    Hello Lars,
    First of all thank you for your reply.
    <b>do u use Collaboration first time?</b>
    Yes, we just started using Collaboration and this is our first requirement.
    <b>Which roles do u have?</b>
    I have all the required roles (Super Admin, Content Management, Collaboration, Collaboration Room Creation).
    I know that these features are available in NW04 SP 17 without any limitations. I have reviewed SAP Notes 707730, 711093, 709354 and 946470 also.
    This problem is with only a few Collaboration iViews.
    I am able to create Rooms, Enter Rooms, Receive Invitation e-mails without any problem.
    Any suggestions about any possible missing configurations ?
    Thanks Again,
    Raj

Maybe you are looking for