Click here to Skip to main content
15,917,177 members
Home / Discussions / C#
   

C#

 
GeneralRe: Looking for Critique of My Answers to Recent C# Multithreading Interview Questions... Pin
Dave Kreskowiak26-Aug-15 10:28
mveDave Kreskowiak26-Aug-15 10:28 
AnswerRe: Looking for Critique of My Answers to Recent C# Multithreading Interview Questions... Pin
F-ES Sitecore27-Aug-15 0:50
professionalF-ES Sitecore27-Aug-15 0:50 
GeneralRe: Looking for Critique of My Answers to Recent C# Multithreading Interview Questions... Pin
clientSurfer27-Aug-15 6:21
professionalclientSurfer27-Aug-15 6:21 
AnswerRe: Looking for Critique of My Answers to Recent C# Multithreading Interview Questions... Pin
Richard MacCutchan27-Aug-15 1:41
mveRichard MacCutchan27-Aug-15 1:41 
GeneralRe: Looking for Critique of My Answers to Recent C# Multithreading Interview Questions... Pin
clientSurfer27-Aug-15 6:22
professionalclientSurfer27-Aug-15 6:22 
GeneralRe: Looking for Critique of My Answers to Recent C# Multithreading Interview Questions... Pin
Eddy Vluggen28-Aug-15 9:20
professionalEddy Vluggen28-Aug-15 9:20 
GeneralRe: Looking for Critique of My Answers to Recent C# Multithreading Interview Questions... Pin
clientSurfer29-Aug-15 16:35
professionalclientSurfer29-Aug-15 16:35 
GeneralRe: Looking for Critique of My Answers to Recent C# Multithreading Interview Questions... Pin
Eddy Vluggen30-Aug-15 2:16
professionalEddy Vluggen30-Aug-15 2:16 
JokeRe: Looking for Critique of My Answers to Recent C# Multithreading Interview Questions... Pin
clientSurfer30-Aug-15 6:31
professionalclientSurfer30-Aug-15 6:31 
AnswerRe: Looking for Critique of My Answers to Recent C# Multithreading Interview Questions... Pin
BillWoodruff28-Aug-15 18:21
professionalBillWoodruff28-Aug-15 18:21 
GeneralRe: Looking for Critique of My Answers to Recent C# Multithreading Interview Questions... Pin
clientSurfer29-Aug-15 16:48
professionalclientSurfer29-Aug-15 16:48 
GeneralRe: Looking for Critique of My Answers to Recent C# Multithreading Interview Questions... Pin
BillWoodruff29-Aug-15 23:29
professionalBillWoodruff29-Aug-15 23:29 
GeneralRe: Looking for Critique of My Answers to Recent C# Multithreading Interview Questions... Pin
clientSurfer30-Aug-15 6:48
professionalclientSurfer30-Aug-15 6:48 
Questionspeech recognition in C# Pin
Member 1178520026-Aug-15 7:28
Member 1178520026-Aug-15 7:28 
AnswerRe: speech recognition in C# Pin
Richard MacCutchan26-Aug-15 22:14
mveRichard MacCutchan26-Aug-15 22:14 
JokeRe: speech recognition in C# Pin
Pete O'Hanlon27-Aug-15 4:21
mvePete O'Hanlon27-Aug-15 4:21 
GeneralRe: speech recognition in C# Pin
Richard MacCutchan27-Aug-15 4:47
mveRichard MacCutchan27-Aug-15 4:47 
QuestionMicrosoft.Speech AppendDictation Pin
Member 1192461826-Aug-15 1:07
Member 1192461826-Aug-15 1:07 
QuestionConnect to Report server using a C# service. Pin
Member 328413825-Aug-15 21:38
Member 328413825-Aug-15 21:38 
AnswerRe: Connect to Report server using a C# service. Pin
Herman<T>.Instance25-Aug-15 21:50
Herman<T>.Instance25-Aug-15 21:50 
QuestionExec within an sqlstament for Excecutenonquery Pin
pschulz25-Aug-15 18:20
pschulz25-Aug-15 18:20 
AnswerRe: Exec within an sqlstament for Excecutenonquery Pin
Wendelius25-Aug-15 18:26
mentorWendelius25-Aug-15 18:26 
pschulz wrote:
C#
strSQL = EXEC ('CREATE TABLE ' + @tblName ([EmployeeID] [int] NOT NULL PRIMARY KEY CLUSTERED," +
                  "[VorName] [nvarchar](50) NULL, [NachName] [nvarchar](50) NULL," +
                  " [Titel] [nvarchar](30) NULL, [City] [nvarchar](50) NULL," +
                  " [BirthDate] [date] NULL) ON [PRIMARY]')";
The problem with the table creation is that you try to use parameters, don't use them.

Instead try the following:
C#
strSQL = @"CREATE TABLE " + strtblName + @" (
[EmployeeID] [int] NOT NULL PRIMARY KEY CLUSTERED,
[VorName] [nvarchar](50) NULL,
[NachName] [nvarchar](50) NULL,
[Titel] [nvarchar](30) NULL,
[City] [nvarchar](50) NULL,
[BirthDate] [date] NULL) ON [PRIMARY])";



pschulz wrote:
This is how it looks, for grant and create stp as well

You need to post relevant code parts. If the problem is with the stored procedure, edit the post and paste the code for creating and using the procedure.

Also if you get any error messages, please include those in original format.

modified 26-Aug-15 0:46am.

SuggestionRe: Exec within an sqlstament for Excecutenonquery Pin
Richard Deeming26-Aug-15 2:11
mveRichard Deeming26-Aug-15 2:11 
GeneralRe: Exec within an sqlstament for Excecutenonquery Pin
Wendelius26-Aug-15 2:42
mentorWendelius26-Aug-15 2:42 
AnswerRe: Exec within an sqlstament for Excecutenonquery Pin
Richard Deeming26-Aug-15 2:16
mveRichard Deeming26-Aug-15 2:16 

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.