Click here to Skip to main content
15,923,576 members
Home / Discussions / Database
   

Database

 
AnswerRe: How to Remove Dublicate from the Table Pin
Frank Kerrigan10-Sep-07 9:31
Frank Kerrigan10-Sep-07 9:31 
GeneralRe: How to Remove Dublicate from the Table Pin
Vimalsoft(Pty) Ltd10-Sep-07 20:41
professionalVimalsoft(Pty) Ltd10-Sep-07 20:41 
QuestionOracle SQL Script Pin
Programm3r7-Sep-07 4:36
Programm3r7-Sep-07 4:36 
AnswerRe: Oracle SQL Script Pin
Kschuler7-Sep-07 9:47
Kschuler7-Sep-07 9:47 
QuestionHow can I give a No duplicates property? Pin
Big Ralph7-Sep-07 1:09
Big Ralph7-Sep-07 1:09 
AnswerRe: How can I give a No duplicates property? Pin
Giorgi Dalakishvili7-Sep-07 1:22
mentorGiorgi Dalakishvili7-Sep-07 1:22 
AnswerRe: How can I give a No duplicates property? Pin
Chetan Patel7-Sep-07 3:10
Chetan Patel7-Sep-07 3:10 
QuestionCalling Stored SQL Functions from Visual Basic Pin
Mark Cabbage6-Sep-07 23:10
Mark Cabbage6-Sep-07 23:10 
Hi Everyone,
Wasn't sure if this was a VB or SQL question and where to post so I am trying here.

I read it is better to use stored procedures and functions on the SQL server to centralise and re-use code, as well as allowing us to restrict rights to EXECUTE rather than full rights.

I wanted to retrieve (and maybe in another function SET), some data so I wrote the following basic function and stored it on the server. My problem is that no matter how I try, I can't seem to find a way to call the function from my VB.NET 2005 application. Please help


ALTER FUNCTION dbo.GetEmployeeFont
(
@EmployeeID int
)

RETURNS TABLE
AS
RETURN
(SELECT FontName, FontSize
FROM tblEmployees
WHERE (EmployeeID = @EmployeeID))

AnswerRe: Calling Stored SQL Functions from Visual Basic Pin
pmarfleet6-Sep-07 23:14
pmarfleet6-Sep-07 23:14 
GeneralRe: Calling Stored SQL Functions from Visual Basic [modified] Pin
manuo56-Sep-07 23:25
manuo56-Sep-07 23:25 
AnswerRe: Calling Stored SQL Functions from Visual Basic Pin
Paddy Boyd7-Sep-07 0:00
Paddy Boyd7-Sep-07 0:00 
GeneralRe: Calling Stored SQL Functions from Visual Basic Pin
pmarfleet7-Sep-07 0:22
pmarfleet7-Sep-07 0:22 
GeneralRe: Calling Stored SQL Functions from Visual Basic Pin
Paddy Boyd7-Sep-07 0:25
Paddy Boyd7-Sep-07 0:25 
GeneralRe: Calling Stored SQL Functions from Visual Basic Pin
pmarfleet7-Sep-07 0:36
pmarfleet7-Sep-07 0:36 
GeneralRe: Calling Stored SQL Functions from Visual Basic Pin
Paddy Boyd7-Sep-07 0:44
Paddy Boyd7-Sep-07 0:44 
GeneralRe: Calling Stored SQL Functions from Visual Basic Pin
Mark Cabbage8-Sep-07 14:45
Mark Cabbage8-Sep-07 14:45 
GeneralRe: Calling Stored SQL Functions from Visual Basic Pin
Paddy Boyd9-Sep-07 21:19
Paddy Boyd9-Sep-07 21:19 
GeneralRe: Calling Stored SQL Functions from Visual Basic Pin
Mark Cabbage9-Sep-07 21:35
Mark Cabbage9-Sep-07 21:35 
QuestionHow can access mdb ? Pin
manuo56-Sep-07 22:36
manuo56-Sep-07 22:36 
AnswerRe: How can access mdb ? Pin
pmarfleet6-Sep-07 23:07
pmarfleet6-Sep-07 23:07 
GeneralRe: How can access mdb ? Pin
manuo56-Sep-07 23:22
manuo56-Sep-07 23:22 
GeneralRe: How can access mdb ? Pin
pmarfleet6-Sep-07 23:25
pmarfleet6-Sep-07 23:25 
GeneralRe: How can access mdb ? Pin
manuo56-Sep-07 23:28
manuo56-Sep-07 23:28 
GeneralRe: How can access mdb ? Pin
pmarfleet6-Sep-07 23:32
pmarfleet6-Sep-07 23:32 
GeneralRe: How can access mdb ? Pin
manuo56-Sep-07 23:45
manuo56-Sep-07 23:45 

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.