Click here to Skip to main content
16,018,653 members
Home / Discussions / Database
   

Database

 
QuestionSound?! Pin
md_refay22-Jun-06 0:31
md_refay22-Jun-06 0:31 
AnswerRe: Sound?! Pin
Colin Angus Mackay22-Jun-06 0:55
Colin Angus Mackay22-Jun-06 0:55 
QuestionSetting Password to the Database Pin
meetbinu200321-Jun-06 22:36
meetbinu200321-Jun-06 22:36 
AnswerRe: Setting Password to the Database Pin
Colin Angus Mackay22-Jun-06 1:04
Colin Angus Mackay22-Jun-06 1:04 
Questionget list of active connections on a database Pin
flippydeflippydebop21-Jun-06 22:32
flippydeflippydebop21-Jun-06 22:32 
AnswerRe: get list of active connections on a database Pin
Eric Dahlvang22-Jun-06 6:07
Eric Dahlvang22-Jun-06 6:07 
QuestionAdding Auto-Increment ID in both parent and child table Pin
@myg@l21-Jun-06 8:48
@myg@l21-Jun-06 8:48 
AnswerRe: Adding Auto-Increment ID in both parent and child table Pin
r.stropek21-Jun-06 20:41
r.stropek21-Jun-06 20: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 4:32
@myg@l22-Jun-06 4:32 
QuestionRe: Adding Auto-Increment ID in both parent and child table Pin
Eric Dahlvang23-Jun-06 2:55
Eric Dahlvang23-Jun-06 2:55 
AnswerRe: Adding Auto-Increment ID in both parent and child table Pin
@myg@l25-Jun-06 21:15
@myg@l25-Jun-06 21:15 
GeneralRe: Adding Auto-Increment ID in both parent and child table Pin
Eric Dahlvang26-Jun-06 4:59
Eric Dahlvang26-Jun-06 4:59 
GeneralRe: Adding Auto-Increment ID in both parent and child table Pin
@myg@l28-Jun-06 2:57
@myg@l28-Jun-06 2:57 
AnswerRe: Adding Auto-Increment ID in both parent and child table Pin
Eric Dahlvang28-Jun-06 3:16
Eric Dahlvang28-Jun-06 3:16 
GeneralRe: Adding Auto-Increment ID in both parent and child table Pin
@myg@l28-Jun-06 4:18
@myg@l28-Jun-06 4:18 
GeneralRe: Adding Auto-Increment ID in both parent and child table Pin
Eric Dahlvang28-Jun-06 4:30
Eric Dahlvang28-Jun-06 4:30 
GeneralRe: Adding Auto-Increment ID in both parent and child table Pin
@myg@l28-Jun-06 4:46
@myg@l28-Jun-06 4:46 
GeneralRe: Adding Auto-Increment ID in both parent and child table Pin
Eric Dahlvang28-Jun-06 5:04
Eric Dahlvang28-Jun-06 5:04 
GeneralRe: Adding Auto-Increment ID in both parent and child table Pin
@myg@l28-Jun-06 5:08
@myg@l28-Jun-06 5:08 
GeneralRe: Adding Auto-Increment ID in both parent and child table Pin
Eric Dahlvang28-Jun-06 5:55
Eric Dahlvang28-Jun-06 5:55 
GeneralRe: Adding Auto-Increment ID in both parent and child table Pin
@myg@l1-Jul-06 8:00
@myg@l1-Jul-06 8:00 
Questionfor xml guide Pin
prasad kabbur20-Jun-06 23:50
prasad kabbur20-Jun-06 23:50 
GeneralRe: for xml guide Pin
User 171649221-Jun-06 13:03
professionalUser 171649221-Jun-06 13:03 
AnswerRe: for xml guide Pin
Graham Nimbley21-Jun-06 14:22
Graham Nimbley21-Jun-06 14:22 
Questioncan't save image in database Pin
md_refay20-Jun-06 22:24
md_refay20-Jun-06 22: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.