I need solution for this query
hi all,
could anyone please send me solution for this query these are the database tables am having
TABLE NAME :USERS
ATTRIBUTES
UNAME
PASSWORD
GROUPNAME
TABLE NAME:GROUPS
ATTRIBUTES
GROUPID
GROUPNAME
my requirement is that i need 2 acces the groupname of a particular user and the reamining groups to which i doesn't belong in A SINGLE QUERY
my result needs to be like this
Authorised group
consultant
UNAuthorised groups
sales
vender
recruiter
admin
if any body got the solution please send
hi All,
I have 3 tables 1)PREVILEGES (groupname, previleges(values y or n only))
2)GROUPS (groupid, groupname)
3) USERS (uname, groupname).
Here each user belongs to one group, each user hav a default previlege means example if user is consutant then he can access only consultant group. Means default previlege will be used. For default previleges, there is no record in Previleges table.
The Problem is that, I need to reterive the groupname from users which de doesn't belong as well as his previleges from previleges, If there is no values in previleges in the table it should return n. or value what is therey.
the different groups are
SALES,CONSULTANT,VENDER,RECRUTER,ADMIN
Similar Messages
-
i want solution for shape & append query as run in access for oracle
RS.Open "SHAPE {select ID,MAX(Module_Name) AS MainMenu from USER_MODULE GROUP BY ID} APPEND ({select ID,NAME,USER_module.srno,iif(right(param_str,1)='P','ü','') as Allow,iif(left(param_str,1)='A','ü','') as Ins,iif(MID(param_str,2,1)='E','ü','') as Edit,iif(MID(param_str,3,1) = 'D','ü','') as Del,flag,CODE,NAME from USER_MODULE left join user1 on user1.srno=USER_module.srno where user_name='" & Master_Rst!USER_NAME & "' or user_name is null} RELATE ID TO ID) AS AA", G_CompCn, adOpenDynamic, adLockOptimisticIf you are in migration from one DB to other - you should not go with one to one convertion.
First understand the business requirment - whats working and how is it working and whats expected out of your new code etc.
Then decide what to place and how using your new DB.
There might not be one to one exact match in all DBs.
Simple example if you find any connect by prior in oracle - can you replace it with simple SQL command in ACCESS / SQL SERVER as it is without any functions? -
Please help me in finding the solution for this query
Hi Experts,
How could i print column name's second word in next line
suppose am taking ename alias as "employee name"
i want to print the second word "name" in next line
like
"Employee
Name"
Whats the way of writing this query
Please help me out
Thanks in AdvanceHi,
914618 wrote:
WITH mydata AS
SELECT 1 emp_id, 'John Smith' emp_name FROM DUAL UNION ALL
SELECT 2 emp_id, 'Steve Jobs' emp_name FROM DUAL UNION ALL
SELECT 3 emp_id, 'Larry Allison' emp_name FROM DUAL
SELECT emp_id, emp_name
FROM mydata;
after executing the above query the o/p I am getting is in the normal format like EMP_ID and EMP_NAME
not according to my requirement like
Emp Emp
Id NameWhat are the results you reaally want? Do you want this?
` EMP_ID SPLIT_NAME
1 John
Smith
2 Steve
Jobs
3 Larry
AllisonIf so:
SELECT emp_id
, REPLACE (emp_name, ' ', CHR (10)) AS split_name
FROM mydata
;The results above are 3 rows, not 6.
What results would you want if emp_name contained 3 or more words? For example, if you add this to the sample data:
SELECT 9 emp_id, 'Aung San Suu Kyi' emp_name FROM DUAL UNION ALL -
Need Solution for this Intersting scenario
Hi All,
Our Client is having Office in X - country & Y- Country In Y country there is two division. Import Div & Local Divison. Two book of account have to be maintained. for this.
Good is being purchase from X for - $100 by Y Import Div
Stock is transfered to Local Div at - $70
Sold in the marked at - $90 by Local Div.
After sale Y Import Div Get rebate for sale - $20
If we consolidate the 2 books of account we get the profit - $10
This is the scenario how it will be done....
Please explain in detail.....
Regards,
Subha joHi
First your Y-Import Division importing the material for $100 and after that is is getting $20 rebate....so the actual cost of the material is $80. Then this $80 material is transfered to Y- Local Division and sold for $ 90
So finally you are getting $10 as a profit
Regards
S.Baskaran -
I need solution for this?
hi friends,
i am doing create a cfc. i have a doubt. i want to pass data like this
<cfargument name="name.num" >
is this possible in cfc? i gave this format.but i got error illegal characters
give solution?How they pass the variable does not matter, you can name it anything you want in your CFC.
<cfargument name="myLegalName"....>
And what ever gets passed to that function will be in the variable arguments.myLegalName.
If you ever do need to access a variable with an illegal name, you can use this form.
scope["a.variable.with.illegal.characters"]
I.E.
variables["name.num"] -
hi All,
I have 3 tables 1)PREVILEGES (groupname, previleges(values y or n only))
2)GROUPS (groupid, groupname)
3) USERS (uname, groupname).
Here each user belongs to one group, each user hav a default previlege means example if user is consutant then he can access only consultant group. Means default previlege will be used. For default previleges, there is no record in Previleges table.
The Problem is that, I need to reterive the groupname from users which de doesn't belong as well as his previleges from previleges, If there is no values in previleges in the table it should return n. or value what is therey.
the different groups are
SALES,CONSULTANT,VENDER,RECRUTER,ADMIN[url http://forums.oracle.com/forums/thread.jspa?threadID=491856&tstart=0]duplicate thread
-
Need Solution for this Scenario......
Hi All,
I am giving the scenario:
For Indian operation we have two set of books, one is for direct billing to the customers in India and the other is shipping to India and billing from Bangalore/Bombay or other branches. Though India operation is single, still for the operation purpose it should be considered as two entity/two Company. Similarly the service company under the group also has the same kind of operation structure.
How this can be done in SAP........
Thanks in Advance,
Subah JoSome of the container/app server vendors offer such tools. You should start by posting your question to the specific container/app server forum.
-
My 500 GB can't verify nor repair. I have photoshop work that I need to recover. I would like to know what option would be the best solution for this problem?
You appear to have two issues: 1) a hard drive that is not working properly and 2) files you wish to recover.
Re 1) you need to answer Kappy's questions.
Re 2) does the drive load and can you see your photo files? If so can you copy them to another drive?
Do you not have a backup of the photo files? -
The App Store indicates that 5 items need to be updated. When I go to the Update page, only a blank page appears and no application logo appears for updating. Would appreciate receiving a solution for this.
SridharOkay - let's cut to the chase...
If the Menu Bar (File, Edit... Help) shown in my screenshot below is not visible, use CTRL+B to display it. Then click on Help/Check for Updates. If one is available, you will be able to select it at this time.
Note the item at the bottom of the list; About iTunes. Selecting that will show you which version of iTunes you are using.
An alternative method to display the Menu Bar is click on the box in the top left of your iTunes window... -
Need solution for a Reporting Requirement
Hello Experts,
I need design a solution for Report, where in I need to show ageing of Invoice based of Due date of Invoice for last four weeks as explained below:
In cube i have records like this:
Industry Invoice Number Due Date Amount
8111 IV1 13/04/2011 1000
8111 IV2 17/04/2011 1000
Say current week end date is 03/05/2011, now I need to show data for last 4 weeks in report, by calculting what is due at that weekend date e.g. there is no amount due on 12/04/2011, but next week on 19th amount due in 1000, then subsequent week there are 2 Inv. due, amount for 26th is 2000. Similarly there is additional invoice after 26th, so amount on 3rd remains the same i.e. 2000.
Industry Week End date AR Amount due
8111 12/04/2010 0
8111 19/04/2010 1000
8111 26/04/2010 2000
8111 03/05/2010 2000
Please let me know what is the best solution to achive this, as data volume would be high i.e.
1. In Bex query, is this can be done, if yes how?
2. Or we need to do this in EDW, by having additonal cube, if yes how?
Please let me know if you have solution for this.
Regards,
VipulHi All,
Thanks for the replies.
Please tell me if I can call a file sender communication channel from an UDF and pass the dinamic configuration values at runtime.
If this is possible, I think the above requirement is addressed.
Please tell me in case of any more solutions too.
Thanks once again.
Regards. -
After update my iPad 2 with IOS 6.0.1 the botton mute and sound + doesn't work...any solution for this??? Thanks
There are numerous reports of this issue happening on iPhones. It may be a glitch that will need a new update. Some find that a full shut-down and restart fixes that problem, but not always.
-
I bought iPhone 3GS(Used) recently and updated ios 6.1.3 my iPhone is taking blurry Pictures through basic default Cam app.Can anybody please let me know any solution for this?
Basic troubleshooting steps right out of the user guide are restart, reset, restore from backup, restore as new. If you've been through ALL the steps and you still have the problem, then you'll need to bring your phone to Apple for evaluation.
-
I bought my iphone 5 in Houston on May 15 2013.
IMEI 013428009645399.The problem I have is that in the country
which I live GREECE the 4G is
not working.Please if you have any solution for this
problem let me know.My email is [email protected]
Thanking you in advance
Philip CouridisiPhones purchased in the US are NOT guaranteed to work with 4G bands outside of North America.
For what crazy reason did you purchase an iPhone in the US if you live in Greece? If your phone needs servicing, it will have to be brought back to the US. You cannot get that phone serviced in Greece. -
Need Solution for iWeb/QuickTime viewing problem in IE 6 for Windows
When viewing an iWeb page in IE 6 for Windows with a background picture and a QuickTime movie embeded, the QT movie frame will "smear" when the page is scrolled. More specifically, The QT movie frame will not lock into its proper position as long as the page has a background picture selected in iWeb when viewing w/ IE 6 for Windows. Does anyone know of a solution for this? Does this problem still exist w/ later versions of IE for Windows?
By the way, if you don't already know this, changing the Page Background setting back to the default of 'Color Fill' in iWeb and republishing will not correct the problem once a background picture is selected for a page. You have to set the Page Background setting to 'None' and republish. The movie frame will then be locked into place when scrolling the page in IE 6 for Windows.
MBP 17in (1 GB RAM), PB G4 15in, PB G4 12in, iMac G3 Mac OS X (10.4.7) Loyal to Apple since the Apple ][+Someone else posted that you may have to remove the image altogether, publish, then place the replacement image. The images for the background of my newest pages use this as a tiled background successfully.
http://web.mac.com/makentosh/iWeb/tipsfromtheiceberg/Images/background.jpg
I'm not sure how well tiling would work on your page though since it would begin to repeat vertically when you don't want it to (for me, tiling is exactly what I needed). -
I have noticed iOS6 slow down browser and email client, I really hope Apple will find solution for this. Junaid
We need to know more about your system, please download EtreCheck and run the report and please post it on your next reply. Then we can see how your system is configured, what apps are on it and look for anything obvious. We will look forward to seeing your report.
Maybe you are looking for
-
Problem saving a pdf in illustrator
When I save a pdf file in Illustrator I get a sign saying "This file has no program associated to perform this action. Install the appropriate program or, if you already have it installed, create an association in the Control Panel Programs defaults
-
I bought my iPad in USA. It was set up over there.i live in Ireland.when I try to buy from apple store it doesn't accept my details and says I must put in my USA address.can this be changed?
-
I'm unable to send e-mail to an added 'e-mail alias' I entered via amconsole's "User Alias List:" field. The help there says: User Alias List. The field defines a list of aliases that may be applied to the user. In order to use any aliases configured
-
How to get ride of a black space box on screen
how to get ride of a black floating text box from the computer.
-
Can't Choose Songs With Media Sync
I see my iTunes playlists in Media Sync but it won't allow me to select any of them, (won't let me check any boxes). Any advice would be appreciated. Thanks!