Click here to Skip to main content
15,897,291 members
Home / Discussions / Database
   

Database

 
QuestionRe: the order by clause is invalid in views inline functions ... Pin
Chris Meech26-Feb-10 8:56
Chris Meech26-Feb-10 8:56 
AnswerRe: the order by clause is invalid in views inline functions ... Pin
Majid Shahabfar26-Feb-10 21:53
Majid Shahabfar26-Feb-10 21:53 
GeneralRe: the order by clause is invalid in views inline functions ... Pin
Chris Meech1-Mar-10 7:35
Chris Meech1-Mar-10 7:35 
AnswerRe: the order by clause is invalid in views inline functions ... Pin
SilimSayo26-Feb-10 9:40
SilimSayo26-Feb-10 9:40 
GeneralRe: the order by clause is invalid in views inline functions ... Pin
Majid Shahabfar26-Feb-10 21:55
Majid Shahabfar26-Feb-10 21:55 
GeneralRe: the order by clause is invalid in views inline functions ... Pin
SilimSayo27-Feb-10 17:58
SilimSayo27-Feb-10 17:58 
GeneralRe: the order by clause is invalid in views inline functions ... Pin
Majid Shahabfar3-Mar-10 20:22
Majid Shahabfar3-Mar-10 20:22 
Questionupdate item_guid based on item_code Pin
Jassim Rahma25-Feb-10 20:58
Jassim Rahma25-Feb-10 20:58 
I am inserting different records using this this:
INSERT INTO prices (created_user, price_level_id, item_hour, item_category, item_code, item_description, item_price) SELECT @created_user, @price_level_identity, 0, item_category, item_code, item_description, item_price FROM prices WHERE price_level_id = @price_level_id AND item_hour = 0
INSERT INTO prices (created_user, price_level_id, item_hour, item_category, item_code, item_description, item_price) SELECT @created_user, @price_level_identity, 1, item_category, item_code, item_description, item_price FROM prices WHERE price_level_id = @price_level_id AND item_hour = 1
INSERT INTO prices (created_user, price_level_id, item_hour, item_category, item_code, item_description, item_price) SELECT @created_user, @price_level_identity, 2, item_category, item_code, item_description, item_price FROM prices WHERE price_level_id = @price_level_id AND item_hour = 2


I want after that to update the item_guid so all records having the same item_code should have the same item_guid, something like:
UPDATE prices SET item_guid = ONE_GUID_FOR-ALL where item_code = SAME_ITEM_CODE and price_level_id = WHAT_VER_ID_i_PASS

AnswerRe: update item_guid based on item_code Pin
R. Giskard Reventlov25-Feb-10 22:26
R. Giskard Reventlov25-Feb-10 22:26 
Questionblood Pressure Pin
Jassim Rahma25-Feb-10 20:43
Jassim Rahma25-Feb-10 20:43 
AnswerRe: blood Pressure Pin
Not Active26-Feb-10 0:07
mentorNot Active26-Feb-10 0:07 
AnswerRe: blood Pressure Pin
i.j.russell26-Feb-10 2:12
i.j.russell26-Feb-10 2:12 
AnswerRe: blood Pressure Pin
T M Gray26-Feb-10 11:54
T M Gray26-Feb-10 11:54 
GeneralRe: blood Pressure Pin
Jassim Rahma26-Feb-10 18:13
Jassim Rahma26-Feb-10 18:13 
QuestionHow rollback tran in while loop Pin
amit sahu2025-Feb-10 20:34
amit sahu2025-Feb-10 20:34 
AnswerRe: How rollback tran in while loop Pin
Pranay Rana25-Feb-10 21:27
professionalPranay Rana25-Feb-10 21:27 
Questionjavascript calculation total not working Pin
esebagel25-Feb-10 10:40
esebagel25-Feb-10 10:40 
AnswerRe: javascript calculation total not working Pin
i.j.russell25-Feb-10 10:49
i.j.russell25-Feb-10 10:49 
GeneralRe: javascript calculation total not working Pin
esebagel25-Feb-10 10:55
esebagel25-Feb-10 10:55 
QuestionWriting Date back to SQL Anywhere DB - Exception Thrown Pin
MWRivera25-Feb-10 10:01
MWRivera25-Feb-10 10:01 
AnswerRe: Writing Date back to SQL Anywhere DB - Exception Thrown Pin
Richard MacCutchan25-Feb-10 10:34
mveRichard MacCutchan25-Feb-10 10:34 
GeneralRe: Writing Date back to SQL Anywhere DB - Exception Thrown Pin
MWRivera25-Feb-10 10:46
MWRivera25-Feb-10 10:46 
GeneralRe: Writing Date back to SQL Anywhere DB - Exception Thrown Pin
Richard MacCutchan25-Feb-10 11:29
mveRichard MacCutchan25-Feb-10 11:29 
GeneralRe: Writing Date back to SQL Anywhere DB - Exception Thrown Pin
MWRivera1-Mar-10 6:13
MWRivera1-Mar-10 6:13 
Question<ROOT> xml sql Pin
Qendro25-Feb-10 9:26
Qendro25-Feb-10 9:26 

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.