Click here to Skip to main content
15,906,947 members
Home / Discussions / Database
   

Database

 
QuestionHow to auto generate custom Id value..., Pin
Member 387988110-Aug-07 18:41
Member 387988110-Aug-07 18:41 
AnswerSenthil'S Reply How to auto generate custom Id value..., Pin
Senthil S10-Aug-07 21:02
Senthil S10-Aug-07 21:02 
AnswerRe: How to auto generate custom Id value..., Pin
Rami Said Abd Alhalim10-Aug-07 22:07
Rami Said Abd Alhalim10-Aug-07 22:07 
Question[ADO.NET/C#] result of a function Pin
Mwambe10-Aug-07 3:36
Mwambe10-Aug-07 3:36 
AnswerRe: [ADO.NET/C#] result of a function Pin
R. Giskard Reventlov10-Aug-07 3:50
R. Giskard Reventlov10-Aug-07 3:50 
AnswerRe: [ADO.NET/C#] result of a function Pin
Rami Said Abd Alhalim10-Aug-07 22:55
Rami Said Abd Alhalim10-Aug-07 22:55 
QuestionThe highest value for VarBinary(MAX) in Production Server Pin
Nadia Monalisa10-Aug-07 1:53
Nadia Monalisa10-Aug-07 1:53 
AnswerRe: The highest value for VarBinary(MAX) in Production Server Pin
Talal Sultan10-Aug-07 2:01
Talal Sultan10-Aug-07 2:01 
I don't know about this software you used "MyLittleAdmin" but I know that when I have a stored procedure that takes a parameter varbinary(MAX), I declare the parameter in the code with a length of -1 as follows:

procedure_Insert.Parameters.Add(
                new System.Data.SqlClient.SqlParameter("@picture",
                System.Data.SqlDbType.VarBinary, -1,
                System.Data.ParameterDirection.Input,
                false, 0, 0, "picture", System.Data.DataRowVersion.Current, null)
                );


To my knowledge the maximum size of varbinary(MAX) is 2GB but I could be wrong on that one.

Hope this helps Smile | :)

Talal

-- If this is a post that has been helpful to you, please vote for it. Thank you!

"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning."
--Rich Cook

GeneralRe: The highest value for VarBinary(MAX) in Production Server Pin
Nadia Monalisa10-Aug-07 2:10
Nadia Monalisa10-Aug-07 2:10 
GeneralRe: The highest value for VarBinary(MAX) in Production Server Pin
Talal Sultan10-Aug-07 2:16
Talal Sultan10-Aug-07 2:16 
GeneralRe: The highest value for VarBinary(MAX) in Production Server Pin
Luis Alonso Ramos12-Aug-07 14:49
Luis Alonso Ramos12-Aug-07 14:49 
Questionhow can i write a query.... Pin
koolprasad200310-Aug-07 0:06
professionalkoolprasad200310-Aug-07 0:06 
AnswerRe: how can i write a query.... Pin
andyharman10-Aug-07 2:19
professionalandyharman10-Aug-07 2:19 
Questionpivot query in sybase Pin
pete007_ke9-Aug-07 22:08
pete007_ke9-Aug-07 22:08 
AnswerRe: pivot query in sybase Pin
andyharman10-Aug-07 2:24
professionalandyharman10-Aug-07 2:24 
QuestionError in connecting remotely to database Pin
IamAmit9-Aug-07 3:18
IamAmit9-Aug-07 3:18 
AnswerRe: Error in connecting remotely to database Pin
Talal Sultan9-Aug-07 3:55
Talal Sultan9-Aug-07 3:55 
AnswerRe: Error in connecting remotely to database Pin
originSH9-Aug-07 5:10
originSH9-Aug-07 5:10 
GeneralRe: Error in connecting remotely to database Pin
IamAmit9-Aug-07 23:09
IamAmit9-Aug-07 23:09 
GeneralRe: Error in connecting remotely to database Pin
Talal Sultan9-Aug-07 23:59
Talal Sultan9-Aug-07 23:59 
GeneralRe: Error in connecting remotely to database Pin
IamAmit10-Aug-07 0:04
IamAmit10-Aug-07 0:04 
GeneralRe: Error in connecting remotely to database Pin
Talal Sultan10-Aug-07 0:11
Talal Sultan10-Aug-07 0:11 
GeneralRe: Error in connecting remotely to database Pin
IamAmit10-Aug-07 0:22
IamAmit10-Aug-07 0:22 
GeneralRe: Error in connecting remotely to database Pin
sam#10-Aug-07 1:35
sam#10-Aug-07 1:35 
GeneralRe: Error in connecting remotely to database Pin
Talal Sultan10-Aug-07 1:56
Talal Sultan10-Aug-07 1:56 

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.