Click here to Skip to main content
15,890,123 members
Home / Discussions / Database
   

Database

 
GeneralRe: SQL Statement Problem Pin
Colin Angus Mackay7-Jan-05 11:13
Colin Angus Mackay7-Jan-05 11:13 
GeneralRe: SQL Statement Problem Pin
Colin Angus Mackay7-Jan-05 10:42
Colin Angus Mackay7-Jan-05 10:42 
GeneralRe: SQL Statement Problem Pin
David Salter7-Jan-05 5:36
David Salter7-Jan-05 5:36 
GeneralRe: SQL Statement Problem Pin
Anonymous7-Jan-05 6:46
Anonymous7-Jan-05 6:46 
GeneralRe: SQL Statement Problem Pin
tecnovate_vivek8-Jan-05 1:37
tecnovate_vivek8-Jan-05 1:37 
Generalinsert record into mysql table Pin
kd83417-Jan-05 3:25
kd83417-Jan-05 3:25 
GeneralRe: insert record into mysql table Pin
David Salter7-Jan-05 5:42
David Salter7-Jan-05 5:42 
QuestionOnly last 50 rows??? Pin
Anonymous7-Jan-05 2:43
Anonymous7-Jan-05 2:43 
Hi, how can I get working the procedure, where only last 50 rows are returned: I have found something about SELECT TOP 50 in MSDN but I can't get it working. I have this code (procedure)
CREATE PROCEDURE dbo.GetGuestbookData
	(	
		@SortOrder varchar(64)
	)
AS
	IF @SortOrder='ASC'
		BEGIN
			SELECT *
			FROM Guestbook INNER JOIN Users
			ON Guestbook.AuthorID = Users.RecordID
			ORDER BY Guestbook.RecordID ASC
		END
	ELSE
		BEGIN    
			SELECT *
			FROM Guestbook INNER JOIN Users
			ON Guestbook.AuthorID = Users.RecordID
			ORDER BY Guestbook.RecordID DESC
		END
RETURN

AnswerRe: Only last 50 rows??? Pin
Ritesh12347-Jan-05 3:09
Ritesh12347-Jan-05 3:09 
GeneralRe: putting strings into sqlcommand Pin
Colin Angus Mackay6-Jan-05 22:26
Colin Angus Mackay6-Jan-05 22:26 
GeneralExcel text field not taking big CString using VC++ Pin
Anshul Mehra6-Jan-05 20:20
professionalAnshul Mehra6-Jan-05 20:20 
Generalputting strings into sqlcommand Pin
sianatia6-Jan-05 18:34
sianatia6-Jan-05 18:34 
GeneralAngry DBA Pin
Anonymous6-Jan-05 14:24
Anonymous6-Jan-05 14:24 
GeneralODP.NET : How to access function with VARCHAR2 as ReturnValue Pin
arnab19745-Jan-05 16:49
arnab19745-Jan-05 16:49 
QuestionHow to use insert command in Access database? Pin
DuyNguyen5-Jan-05 7:43
DuyNguyen5-Jan-05 7:43 
AnswerRe: How to use insert command in Access database? Pin
Mike Ellison7-Jan-05 5:55
Mike Ellison7-Jan-05 5:55 
GeneralRe: How to use insert command in Access database? Pin
DuyNguyen8-Jan-05 8:08
DuyNguyen8-Jan-05 8:08 
GeneralSQL Merge Replication Pin
Purple Monk4-Jan-05 23:41
Purple Monk4-Jan-05 23:41 
GeneralAccess db @@indentity how to get new record Pin
xsoftdev24-Jan-05 14:33
xsoftdev24-Jan-05 14:33 
GeneralRe: Access db @@indentity how to get new record Pin
Mike Ellison7-Jan-05 5:48
Mike Ellison7-Jan-05 5:48 
GeneralRe: Access db @@indentity how to get new record Pin
xsoftdev28-Jan-05 18:36
xsoftdev28-Jan-05 18:36 
QuestionHow can I .... Pin
KORCARI4-Jan-05 14:03
KORCARI4-Jan-05 14:03 
AnswerRe: How can I .... Pin
Colin Angus Mackay4-Jan-05 23:01
Colin Angus Mackay4-Jan-05 23:01 
GeneralNormalisation Pin
Edbert P5-Jan-05 17:35
Edbert P5-Jan-05 17:35 
GeneralRe: Normalisation Pin
Colin Angus Mackay5-Jan-05 22:35
Colin Angus Mackay5-Jan-05 22:35 

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.