Click here to Skip to main content
15,902,032 members
Home / Discussions / Database
   

Database

 
GeneralRe: Alternative to a lookup table Pin
i.j.russell15-Sep-06 5:35
i.j.russell15-Sep-06 5:35 
QuestionNew to SQL, trying to retrieve data with VB.NET Pin
Wazr809814-Sep-06 18:41
Wazr809814-Sep-06 18:41 
AnswerRe: New to SQL, trying to retrieve data with VB.NET Pin
srushti0814-Sep-06 21:00
srushti0814-Sep-06 21:00 
AnswerRe: New to SQL, trying to retrieve data with VB.NET Pin
Michael P Butler15-Sep-06 21:05
Michael P Butler15-Sep-06 21:05 
QuestionLet a paramter calculate it's own size Pin
monrobot1314-Sep-06 16:43
monrobot1314-Sep-06 16:43 
AnswerRe: Let a paramter calculate it's own size Pin
Michael Potter15-Sep-06 4:46
Michael Potter15-Sep-06 4:46 
GeneralRe: Let a paramter calculate it's own size Pin
monrobot1315-Sep-06 11:07
monrobot1315-Sep-06 11:07 
GeneralRe: Let a paramter calculate it's own size Pin
Rob Graham17-Sep-06 5:41
Rob Graham17-Sep-06 5:41 
Quoting from MSDN:
"For variable-length data types, Size describes the maximum amount of data to transmit to the server. For example, for a Unicode string value, Size could be used to limit the amount of data sent to the server to the first one hundred characters."
So, you should set the size to the largest expected size you can handle.

For updates, set the size later (just before using it in the sqlCommand):
((SqlParameter)param_array[7]).size = mydata.length;



Questionjoins Pin
srushti0814-Sep-06 8:56
srushti0814-Sep-06 8:56 
AnswerRe: joins Pin
Chris Meech14-Sep-06 9:26
Chris Meech14-Sep-06 9:26 
QuestionWhen you delete a table,its strututral definition,data,indexes,views,constraints are permanently deleted from a database? Pin
srushti0814-Sep-06 8:52
srushti0814-Sep-06 8:52 
AnswerRe: When you delete a table,its strututral definition,data,indexes,views,constraints are permanently deleted from a database? Pin
Stephen McGuire14-Sep-06 9:11
Stephen McGuire14-Sep-06 9:11 
AnswerRe: When you delete a table,its strututral definition,data,indexes,views,constraints are permanently deleted from a database? Pin
Rob Graham14-Sep-06 10:55
Rob Graham14-Sep-06 10:55 
AnswerRe: When you delete a table,its strututral definition,data,indexes,views,constraints are permanently deleted from a database? Pin
yetanotherchris15-Sep-06 4:20
yetanotherchris15-Sep-06 4:20 
QuestionConvert Access VBA module to SQL udf Pin
Guytz14-Sep-06 3:38
Guytz14-Sep-06 3:38 
QuestionHow can I insert byte array variable in sql server ? Pin
Orchid8513-Sep-06 23:20
Orchid8513-Sep-06 23:20 
AnswerRe: How can I insert byte array variable in sql server ? Pin
Colin Angus Mackay14-Sep-06 5:27
Colin Angus Mackay14-Sep-06 5:27 
Questionuser vs login in sql server 2000 Pin
yazan_zahi13-Sep-06 22:13
yazan_zahi13-Sep-06 22:13 
AnswerRe: user vs login in sql server 2000 Pin
Colin Angus Mackay13-Sep-06 23:18
Colin Angus Mackay13-Sep-06 23:18 
QuestionSearching through multiple fields Pin
monrobot1313-Sep-06 17:47
monrobot1313-Sep-06 17:47 
AnswerRe: Searching through multiple fields Pin
Dinuj Nath13-Sep-06 18:23
Dinuj Nath13-Sep-06 18:23 
GeneralRe: Searching through multiple fields Pin
monrobot1314-Sep-06 16:22
monrobot1314-Sep-06 16:22 
GeneralRe: Searching through multiple fields Pin
Dinuj Nath14-Sep-06 19:23
Dinuj Nath14-Sep-06 19:23 
GeneralRe: Searching through multiple fields Pin
monrobot1315-Sep-06 10:55
monrobot1315-Sep-06 10:55 
GeneralRe: Searching through multiple fields Pin
Dinuj Nath17-Sep-06 18:35
Dinuj Nath17-Sep-06 18:35 

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.