Click here to Skip to main content
16,006,605 members
Home / Discussions / Database
   

Database

 
AnswerRe: Best Encryption Strategy Pin
Ed.Poore7-Jan-07 6:38
Ed.Poore7-Jan-07 6:38 
GeneralRe: Best Encryption Strategy Pin
DougWiesnerMI8-Jan-07 2:12
DougWiesnerMI8-Jan-07 2:12 
QuestionTricky table join Pin
Wjousts5-Jan-07 2:47
Wjousts5-Jan-07 2:47 
AnswerRe: Tricky table join Pin
ednrgc5-Jan-07 6:40
ednrgc5-Jan-07 6:40 
GeneralRe: Tricky table join Pin
Wjousts5-Jan-07 7:37
Wjousts5-Jan-07 7:37 
GeneralRe: Tricky table join Pin
ednrgc5-Jan-07 8:31
ednrgc5-Jan-07 8:31 
GeneralRe: Tricky table join Pin
Wjousts5-Jan-07 8:47
Wjousts5-Jan-07 8:47 
QuestionHow to debug stored procedure Pin
mohd imran abdul aziz5-Jan-07 0:10
mohd imran abdul aziz5-Jan-07 0:10 
Dear All,
i wanted to know is it possible to debug stored procedure as we debug in dotnet. As i have created following stored procedure to save the records.When
i Exec it it does not show any error but it does not insert the record to corresponding table. Please guide me


Stored procedure is


CREATE PROCEDURE [dbo].[servchargsav]
@branch varchar(20),
@serv varchar(20),
@scharge varchar(20),
@cname varchar(50),
@ip varchar(20)
AS
if @branch is not null
begin
if @serv is not null
begin
declare serv_cursor cursor for
select servicecharge from branchwisecharge where branchid = @branch and serviceid =@serv
open serv_cursor
fetch next from serv_cursor
if @@fetch_status = 0
begin
insert into branchwiseservice(branchid,serviceid,servicecharge,bcreatedby , bcreateddt,ipadd) values(@branch,@serv,@scharge,@cname,getdate(),@ip )
end
else
begin
update branchwisecharge set servicecharge = @scharge, bmodifiedby = @cname, bmodifieddt = getdate() where branchid = @branch and serviceid =@serv
end
close serv_cursor
deallocate serv_cursor
end
end
GO



regards
imran khan

AnswerRe: How to debug stored procedure Pin
WoutL5-Jan-07 0:40
WoutL5-Jan-07 0:40 
AnswerRe: How to debug stored procedure Pin
Pete O'Hanlon5-Jan-07 2:43
mvePete O'Hanlon5-Jan-07 2:43 
GeneralRe: How to debug stored procedure Pin
mohd imran abdul aziz5-Jan-07 3:23
mohd imran abdul aziz5-Jan-07 3:23 
GeneralRe: How to debug stored procedure Pin
Mike Dimmick5-Jan-07 4:59
Mike Dimmick5-Jan-07 4:59 
QuestionBitwise operation for WHERE clause Pin
Leftyfarrell4-Jan-07 12:33
Leftyfarrell4-Jan-07 12:33 
AnswerRe: Bitwise operation for WHERE clause Pin
Colin Angus Mackay4-Jan-07 14:01
Colin Angus Mackay4-Jan-07 14:01 
GeneralRe: Bitwise operation for WHERE clause Pin
Leftyfarrell4-Jan-07 14:12
Leftyfarrell4-Jan-07 14:12 
QuestionPlaying Wav Files From Database Pin
Now_Loading4-Jan-07 11:09
Now_Loading4-Jan-07 11:09 
AnswerRe: Playing Wav Files From Database Pin
Chris Buckett4-Jan-07 21:40
Chris Buckett4-Jan-07 21:40 
GeneralRe: Playing Wav Files From Database Pin
Colin Angus Mackay5-Jan-07 4:16
Colin Angus Mackay5-Jan-07 4:16 
GeneralRe: Playing Wav Files From Database Pin
Chris Buckett5-Jan-07 4:20
Chris Buckett5-Jan-07 4:20 
Questionsql query ... Pin
groundzero1114-Jan-07 10:01
groundzero1114-Jan-07 10:01 
AnswerRe: sql query ... Pin
Colin Angus Mackay4-Jan-07 13:55
Colin Angus Mackay4-Jan-07 13:55 
GeneralRe: sql query ... Pin
groundzero1117-Jan-07 5:56
groundzero1117-Jan-07 5:56 
QuestionNew at ADO.NET Editing Data Pin
Blekk4-Jan-07 8:00
Blekk4-Jan-07 8:00 
QuestionTable permissions Pin
VK-Cadec4-Jan-07 1:49
VK-Cadec4-Jan-07 1:49 
AnswerRe: Table permissions Pin
VK-Cadec4-Jan-07 3:29
VK-Cadec4-Jan-07 3:29 

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.