Click here to Skip to main content
15,794,202 members
Home / Discussions / Database
   

Database

 
QuestionSound?! Pin
md_refay22-Jun-06 1:31
md_refay22-Jun-06 1:31 
AnswerRe: Sound?! Pin
Colin Angus Mackay22-Jun-06 1:55
Colin Angus Mackay22-Jun-06 1:55 
QuestionSetting Password to the Database Pin
meetbinu200321-Jun-06 23:36
meetbinu200321-Jun-06 23:36 
AnswerRe: Setting Password to the Database Pin
Colin Angus Mackay22-Jun-06 2:04
Colin Angus Mackay22-Jun-06 2:04 
Questionget list of active connections on a database Pin
flippydeflippydebop21-Jun-06 23:32
flippydeflippydebop21-Jun-06 23:32 
AnswerRe: get list of active connections on a database Pin
Eric Dahlvang22-Jun-06 7:07
Eric Dahlvang22-Jun-06 7:07 
QuestionAdding Auto-Increment ID in both parent and child table Pin
@myg@l21-Jun-06 9:48
@myg@l21-Jun-06 9:48 
AnswerRe: Adding Auto-Increment ID in both parent and child table Pin
r.stropek21-Jun-06 21:41
r.stropek21-Jun-06 21:41 
Hi!

Your stored proc could look like this:

create procedure AddNewPerson
  @Name varchar(50)
as
  set nocount on

  insert into StaffAccountTable ( StaffName ) values ( @Name )
  insert into Login ( StaffID, ... ) values ( @@identity, ... )
go


Hope this helps.

Regards,
Rainer

Rainer Stropek
Visit my blog at http://www.cubido.at/rainers
GeneralRe: Adding Auto-Increment ID in both parent and child table Pin
@myg@l22-Jun-06 5:32
@myg@l22-Jun-06 5:32 
QuestionRe: Adding Auto-Increment ID in both parent and child table Pin
Eric Dahlvang23-Jun-06 3:55
Eric Dahlvang23-Jun-06 3:55 
AnswerRe: Adding Auto-Increment ID in both parent and child table Pin
@myg@l25-Jun-06 22:15
@myg@l25-Jun-06 22:15 
GeneralRe: Adding Auto-Increment ID in both parent and child table Pin
Eric Dahlvang26-Jun-06 5:59
Eric Dahlvang26-Jun-06 5:59 
GeneralRe: Adding Auto-Increment ID in both parent and child table Pin
@myg@l28-Jun-06 3:57
@myg@l28-Jun-06 3:57 
AnswerRe: Adding Auto-Increment ID in both parent and child table Pin
Eric Dahlvang28-Jun-06 4:16
Eric Dahlvang28-Jun-06 4:16 
GeneralRe: Adding Auto-Increment ID in both parent and child table Pin
@myg@l28-Jun-06 5:18
@myg@l28-Jun-06 5:18 
GeneralRe: Adding Auto-Increment ID in both parent and child table Pin
Eric Dahlvang28-Jun-06 5:30
Eric Dahlvang28-Jun-06 5:30 
GeneralRe: Adding Auto-Increment ID in both parent and child table Pin
@myg@l28-Jun-06 5:46
@myg@l28-Jun-06 5:46 
GeneralRe: Adding Auto-Increment ID in both parent and child table Pin
Eric Dahlvang28-Jun-06 6:04
Eric Dahlvang28-Jun-06 6:04 
GeneralRe: Adding Auto-Increment ID in both parent and child table Pin
@myg@l28-Jun-06 6:08
@myg@l28-Jun-06 6:08 
GeneralRe: Adding Auto-Increment ID in both parent and child table Pin
Eric Dahlvang28-Jun-06 6:55
Eric Dahlvang28-Jun-06 6:55 
GeneralRe: Adding Auto-Increment ID in both parent and child table Pin
@myg@l1-Jul-06 9:00
@myg@l1-Jul-06 9:00 
Questionfor xml guide Pin
prasad kabbur21-Jun-06 0:50
prasad kabbur21-Jun-06 0:50 
GeneralRe: for xml guide Pin
User 171649221-Jun-06 14:03
professionalUser 171649221-Jun-06 14:03 
AnswerRe: for xml guide Pin
Graham Nimbley21-Jun-06 15:22
Graham Nimbley21-Jun-06 15:22 
Questioncan't save image in database Pin
md_refay20-Jun-06 23:24
md_refay20-Jun-06 23:24 

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.