Click here to Skip to main content
15,888,351 members
Home / Discussions / Database
   

Database

 
GeneralRe: SQL Server Query Plan Cache Behavior Pin
Foothill29-Jan-16 4:14
professionalFoothill29-Jan-16 4:14 
GeneralRe: SQL Server Query Plan Cache Behavior Pin
Jörgen Andersson29-Jan-16 4:25
professionalJörgen Andersson29-Jan-16 4:25 
GeneralRe: SQL Server Query Plan Cache Behavior Pin
Foothill29-Jan-16 4:32
professionalFoothill29-Jan-16 4:32 
GeneralRe: SQL Server Query Plan Cache Behavior Pin
Jörgen Andersson29-Jan-16 4:33
professionalJörgen Andersson29-Jan-16 4:33 
GeneralRe: SQL Server Query Plan Cache Behavior Pin
Foothill29-Jan-16 4:45
professionalFoothill29-Jan-16 4:45 
GeneralRe: SQL Server Query Plan Cache Behavior Pin
Richard Deeming29-Jan-16 5:10
mveRichard Deeming29-Jan-16 5:10 
GeneralRe: SQL Server Query Plan Cache Behavior Pin
Foothill29-Jan-16 5:15
professionalFoothill29-Jan-16 5:15 
GeneralRe: SQL Server Query Plan Cache Behavior Pin
Jörgen Andersson29-Jan-16 10:45
professionalJörgen Andersson29-Jan-16 10:45 
It would be pretty hard to calculate, since the correct size would be what the size of the field in the database table is defined as.

So there are two ways to go if you want to keep generating your DML.
Either you ask the database what the field sizes are, Or you define them in your classes using an Attribute on your properties.
You get the SizeAttribute for a member using ((SizeAttribute)Member.GetCustomAttributes(typeof(SizeAttribute), true)[0]).FieldName;
Wrong is evil and must be defeated. - Jeff Ello

GeneralRe: SQL Server Query Plan Cache Behavior Pin
Foothill29-Jan-16 11:17
professionalFoothill29-Jan-16 11:17 
GeneralRe: SQL Server Query Plan Cache Behavior Pin
Jörgen Andersson29-Jan-16 11:42
professionalJörgen Andersson29-Jan-16 11:42 
GeneralRe: SQL Server Query Plan Cache Behavior Pin
Foothill29-Jan-16 12:51
professionalFoothill29-Jan-16 12:51 
Questiondata base and data mining Pin
mohammed.alchalabee28-Jan-16 7:48
mohammed.alchalabee28-Jan-16 7:48 
QuestionRe: data base and data mining Pin
ZurdoDev28-Jan-16 8:48
professionalZurdoDev28-Jan-16 8:48 
AnswerRe: data base and data mining Pin
Eddy Vluggen29-Jan-16 2:12
professionalEddy Vluggen29-Jan-16 2:12 
QuestionSqlconnection Pin
Member 1228733728-Jan-16 4:13
Member 1228733728-Jan-16 4:13 
Answer[REPOST] Sqlconnection Pin
Richard Deeming28-Jan-16 4:27
mveRichard Deeming28-Jan-16 4:27 
GeneralElvis Cristobal Pin
Member 1176371525-Jan-16 7:57
Member 1176371525-Jan-16 7:57 
SuggestionRe: Elvis Cristobal Pin
Richard Deeming25-Jan-16 8:37
mveRichard Deeming25-Jan-16 8:37 
QuestionDatabase Migration and Sync from MS SQL to mySQL Pin
NickPace22-Jan-16 10:33
NickPace22-Jan-16 10:33 
AnswerRe: Database Migration and Sync from MS SQL to mySQL Pin
Eddy Vluggen22-Jan-16 11:17
professionalEddy Vluggen22-Jan-16 11:17 
AnswerRe: Database Migration and Sync from MS SQL to mySQL Pin
jschell22-Jan-16 14:14
jschell22-Jan-16 14:14 
AnswerRe: Database Migration and Sync from MS SQL to mySQL Pin
Mr.Roga23-Jan-16 21:29
Mr.Roga23-Jan-16 21:29 
QuestionAccessing SQL server w/Oracle SQL Developer Pin
Member 1228129922-Jan-16 6:19
Member 1228129922-Jan-16 6:19 
AnswerRe: Accessing SQL server w/Oracle SQL Developer Pin
Eddy Vluggen22-Jan-16 7:02
professionalEddy Vluggen22-Jan-16 7:02 
Questionaccess data base Pin
mohammed.alchalabee21-Jan-16 10:39
mohammed.alchalabee21-Jan-16 10:39 

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.