Click here to Skip to main content
15,892,575 members
Home / Discussions / Database
   

Database

 
GeneralRe: How to get data from OracleDatabase to SQL Server automaticly Pin
CHill6026-Feb-16 3:00
mveCHill6026-Feb-16 3:00 
GeneralRe: How to get data from OracleDatabase to SQL Server automaticly Pin
hmanhha2-Mar-16 3:32
hmanhha2-Mar-16 3:32 
GeneralRe: How to get data from OracleDatabase to SQL Server automaticly Pin
CHill602-Mar-16 3:39
mveCHill602-Mar-16 3:39 
GeneralRe: How to get data from OracleDatabase to SQL Server automaticly Pin
hmanhha2-Mar-16 3:53
hmanhha2-Mar-16 3:53 
GeneralRe: How to get data from OracleDatabase to SQL Server automaticly Pin
hmanhha2-Mar-16 23:11
hmanhha2-Mar-16 23:11 
GeneralRe: How to get data from OracleDatabase to SQL Server automaticly Pin
CHill602-Mar-16 23:44
mveCHill602-Mar-16 23:44 
GeneralRe: How to get data from OracleDatabase to SQL Server automaticly Pin
hmanhha3-Mar-16 16:02
hmanhha3-Mar-16 16:02 
QuestionOrder by by using levels using sql Script Pin
indian14322-Feb-16 10:55
indian14322-Feb-16 10:55 
Hi All,

I have two tables 1st table is Employee (Id, Name, Level) another one is EmployeeRelationShip (Id, EmployeeId, ManagerId), in Employee table all level 1's are Managers and Level 2's are workers.
In EmployeeRelationShip table all Employees would have their ManagerId as Manager's Employee Id. Now for this structure I want to Order by Name for all managers, again under each manager I want to order all his Employees order by name again?

Can anybody please help me in writing a script for me for this scenario? Any help may be a code snippet or a link or even a suggestion would be much helpful. Thanks in advance.
Thanks,

Abdul Aleem

"There is already enough hatred in the world lets spread love, compassion and affection."

AnswerRe: Order by by using levels using sql Script Pin
Mathi Mani22-Feb-16 14:37
Mathi Mani22-Feb-16 14:37 
GeneralRe: Order by by using levels using sql Script Pin
CHill6025-Feb-16 5:07
mveCHill6025-Feb-16 5:07 
AnswerRe: Order by by using levels using sql Script Pin
CHill6025-Feb-16 5:05
mveCHill6025-Feb-16 5:05 
QuestionRecursive Common Table Expressions Pin
Amr.Mohammad8720-Feb-16 9:10
Amr.Mohammad8720-Feb-16 9:10 
SuggestionRe: Recursive Common Table Expressions Pin
CHill6020-Feb-16 9:43
mveCHill6020-Feb-16 9:43 
GeneralRe: Recursive Common Table Expressions Pin
Amr.Mohammad8720-Feb-16 11:21
Amr.Mohammad8720-Feb-16 11:21 
GeneralRe: Recursive Common Table Expressions Pin
CHill6020-Feb-16 23:57
mveCHill6020-Feb-16 23:57 
GeneralRe: Recursive Common Table Expressions Pin
Amr.Mohammad8721-Feb-16 7:04
Amr.Mohammad8721-Feb-16 7:04 
GeneralRe: Recursive Common Table Expressions Pin
Jörgen Andersson21-Feb-16 7:31
professionalJörgen Andersson21-Feb-16 7:31 
GeneralRe: Recursive Common Table Expressions Pin
CHill6021-Feb-16 8:04
mveCHill6021-Feb-16 8:04 
GeneralRe: Recursive Common Table Expressions Pin
Jörgen Andersson21-Feb-16 21:34
professionalJörgen Andersson21-Feb-16 21:34 
GeneralRe: Recursive Common Table Expressions Pin
CHill6021-Feb-16 22:19
mveCHill6021-Feb-16 22:19 
GeneralRe: Recursive Common Table Expressions Pin
Jörgen Andersson21-Feb-16 22:30
professionalJörgen Andersson21-Feb-16 22:30 
GeneralRe: Recursive Common Table Expressions Pin
Amr.Mohammad8722-Feb-16 10:28
Amr.Mohammad8722-Feb-16 10:28 
QuestionEntity Pin
mohsen47319-Feb-16 21:03
mohsen47319-Feb-16 21:03 
QuestionSQLPrepare error: [Microsoft][ODBC Microsoft Access Driver] Invalid SQL statement; expected 'DELETE', 'INSERT', 'PROCEDURE', 'SELECT', or 'UPDATE'. Pin
Member 1233569519-Feb-16 17:48
Member 1233569519-Feb-16 17:48 
Questionhow to set/retrieve data directory and index directory of a table of mysql database Pin
CanadaProgrammer16-Feb-16 23:37
CanadaProgrammer16-Feb-16 23:37 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.