Click here to Skip to main content
15,915,094 members
Home / Discussions / Database
   

Database

 
AnswerRe: Removing duplicate rows from a table Pin
albCode3-May-06 0:29
albCode3-May-06 0:29 
GeneralRe: Removing duplicate rows from a table Pin
Rob Philpott3-May-06 3:23
Rob Philpott3-May-06 3:23 
Generalclickety police Pin
Jerry Hammond3-May-06 4:12
Jerry Hammond3-May-06 4:12 
AnswerRe: Removing duplicate rows from a table Pin
Eric Dahlvang3-May-06 3:40
Eric Dahlvang3-May-06 3:40 
GeneralRe: Removing duplicate rows from a table Pin
Rob Philpott3-May-06 14:04
Rob Philpott3-May-06 14:04 
QuestionInserting Data in Table (RelationShip Problem) Pin
k_bhawna2-May-06 21:36
k_bhawna2-May-06 21:36 
AnswerRe: Inserting Data in Table (RelationShip Problem) Pin
Paddy Boyd3-May-06 1:04
Paddy Boyd3-May-06 1:04 
QuestionSQL Server ntext and int data types Pin
Brendan Vogt2-May-06 21:15
Brendan Vogt2-May-06 21:15 
Hi there,

2 of my table fields is an int (winery ID), and the other is ntext (winery description). The size of the int is 4, and that of ntext is 16.

When passing the parameters in a stored procedure, I thought that using a size 4 or 16 would pass the whole number, or text, but surely this is not the case. When specifying a size of 16, it cuts off on the 16th character. So what I am going to do is use objWinery.Description.Length. But how do I then pass the size/length of the int?

I have a function that createds my parameter like:
AddParameterToSQLCmd(objCmd, "@Description", SqlDbType.NText, 16, ParameterDirection.Input, objWinery.Description);

I hope this makes sense.

Regards,
ma se
AnswerRe: SQL Server ntext and int data types Pin
Paddy Boyd3-May-06 1:10
Paddy Boyd3-May-06 1:10 
QuestionRe: SQL Server ntext and int data types Pin
Brendan Vogt3-May-06 1:14
Brendan Vogt3-May-06 1:14 
AnswerRe: SQL Server ntext and int data types Pin
Dinuj Nath3-May-06 17:56
Dinuj Nath3-May-06 17:56 
QuestionConnecting to a Database Pin
ADY0072-May-06 20:35
ADY0072-May-06 20:35 
AnswerRe: Connecting to a Database Pin
Colin Angus Mackay2-May-06 22:29
Colin Angus Mackay2-May-06 22:29 
AnswerRe: Connecting to a Database Pin
Jerry Hammond3-May-06 4:23
Jerry Hammond3-May-06 4:23 
Questionhow 2 write Querry in C# Pin
cshivaprasad2-May-06 19:35
cshivaprasad2-May-06 19:35 
AnswerRe: how 2 write Querry in C# Pin
Christian Graus2-May-06 20:06
protectorChristian Graus2-May-06 20:06 
GeneralRe: how 2 write Querry in C# Pin
cshivaprasad2-May-06 20:11
cshivaprasad2-May-06 20:11 
GeneralRe: how 2 write Querry in C# Pin
Christian Graus2-May-06 20:24
protectorChristian Graus2-May-06 20:24 
AnswerRe: how 2 write Querry in C# Pin
Colin Angus Mackay2-May-06 22:25
Colin Angus Mackay2-May-06 22:25 
QuestionHow do I execute an Ascii-formatted script from my code? Pin
spazzman2-May-06 14:29
spazzman2-May-06 14:29 
AnswerRe: How do I execute an Ascii-formatted script from my code? Pin
Colin Angus Mackay2-May-06 22:28
Colin Angus Mackay2-May-06 22:28 
GeneralRe: How do I execute an Ascii-formatted script from my code? Pin
spazzman3-May-06 4:07
spazzman3-May-06 4:07 
QuestionA question in SQL Query Pin
PrashantJ2-May-06 9:45
PrashantJ2-May-06 9:45 
AnswerRe: A question in SQL Query Pin
JimRoss2-May-06 10:52
JimRoss2-May-06 10:52 
Questionhow to config out global culture? Pin
Sasuko2-May-06 7:22
Sasuko2-May-06 7:22 

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.