Click here to Skip to main content
15,899,754 members
Home / Discussions / Database
   

Database

 
QuestionRe: Unwanted recordset behaviour !!! [modified] Pin
scorp_scorp8-Feb-11 16:26
scorp_scorp8-Feb-11 16:26 
AnswerRe: Unwanted recordset behaviour !!! Pin
Jörgen Andersson8-Feb-11 22:31
professionalJörgen Andersson8-Feb-11 22:31 
GeneralRe: Unwanted recordset behaviour !!! Pin
scorp_scorp8-Feb-11 23:50
scorp_scorp8-Feb-11 23:50 
GeneralRe: Unwanted recordset behaviour !!! Pin
Jörgen Andersson9-Feb-11 0:31
professionalJörgen Andersson9-Feb-11 0:31 
GeneralRe: Unwanted recordset behaviour !!! Pin
scorp_scorp9-Feb-11 16:34
scorp_scorp9-Feb-11 16:34 
AnswerWhats wrong in this SQL stat. ???? [modified] FOUND THE SOLUTION Pin
scorp_scorp7-Feb-11 20:25
scorp_scorp7-Feb-11 20:25 
GeneralRe: Whats wrong in this SQL stat. ???? [modified] FOUND THE SOLUTION Pin
jschell8-Feb-11 8:47
jschell8-Feb-11 8:47 
QuestionUser Defined Function - Condition based tabel return ??? Pin
Paw Jershauge6-Feb-11 23:30
Paw Jershauge6-Feb-11 23:30 
I have a colleague, that has a bit of trouble creating a UDF heres there code but it fails:
CREATE FUNCTION GetData(@Param int)
RETURNS TABLE
AS
RETURN
IF @Param = 1
    SELECT * FROM Emp
ELSE
    SELECT * FROM Offices
END



The function shall return different table based oppon the condition of the @Param value.

Can someone help ???
With great code, comes great complexity, so keep it simple stupid...Shucks | :-\ Shucks | :-\

AnswerRe: User Defined Function - Condition based tabel return ??? Pin
PIEBALDconsult7-Feb-11 1:49
mvePIEBALDconsult7-Feb-11 1:49 
GeneralRe: User Defined Function - Condition based tabel return ??? Pin
Paw Jershauge7-Feb-11 2:52
Paw Jershauge7-Feb-11 2:52 
AnswerRe: User Defined Function - Condition based tabel return ??? Pin
Ravi Sant7-Feb-11 3:05
Ravi Sant7-Feb-11 3:05 
AnswerRe: User Defined Function - Condition based tabel return ??? Pin
Mycroft Holmes7-Feb-11 12:26
professionalMycroft Holmes7-Feb-11 12:26 
QuestionAccess 2007 , VBA , recordset, adding New field [modified] Pin
scorp_scorp6-Feb-11 19:33
scorp_scorp6-Feb-11 19:33 
AnswerRe: Access 2007 , VBA , recordset, adding New field Pin
Eddy Vluggen7-Feb-11 7:24
professionalEddy Vluggen7-Feb-11 7:24 
QuestionRe: Access 2007 , VBA , recordset, adding New field [modified] Pin
scorp_scorp7-Feb-11 17:25
scorp_scorp7-Feb-11 17:25 
AnswerRe: Access 2007 , VBA , recordset, adding New field Pin
Eddy Vluggen8-Feb-11 7:17
professionalEddy Vluggen8-Feb-11 7:17 
AnswerRe: Access 2007 , VBA , recordset, adding New field Pin
scorp_scorp8-Feb-11 16:51
scorp_scorp8-Feb-11 16:51 
Questionpivoting more than one column in sql server Pin
chencoh6-Feb-11 9:24
chencoh6-Feb-11 9:24 
AnswerRe: pivoting more than one column in sql server Pin
dan!sh 6-Feb-11 10:14
professional dan!sh 6-Feb-11 10:14 
AnswerRe: pivoting more than one column in sql server Pin
Mycroft Holmes6-Feb-11 12:02
professionalMycroft Holmes6-Feb-11 12:02 
GeneralRe: pivoting more than one column in sql server Pin
Jörgen Andersson6-Feb-11 22:13
professionalJörgen Andersson6-Feb-11 22:13 
GeneralRe: pivoting more than one column in sql server Pin
chencoh11-Feb-11 6:43
chencoh11-Feb-11 6:43 
GeneralRe: pivoting more than one column in sql server Pin
Mycroft Holmes11-Feb-11 12:06
professionalMycroft Holmes11-Feb-11 12:06 
QuestionSQL Server Update New Column Pin
Member 46502875-Feb-11 6:43
Member 46502875-Feb-11 6:43 
AnswerRe: SQL Server Update New Column Pin
R. Giskard Reventlov5-Feb-11 7:27
R. Giskard Reventlov5-Feb-11 7:27 

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.