Click here to Skip to main content
15,893,594 members
Home / Discussions / Database
   

Database

 
GeneralRe: Which Datatype is better Bit or tiny int? SQL Server 2005 Pin
Rocky#7-Dec-07 22:37
Rocky#7-Dec-07 22:37 
GeneralRe: Which Datatype is better Bit or tiny int? SQL Server 2005 Pin
Rocky#7-Dec-07 22:34
Rocky#7-Dec-07 22:34 
GeneralRe: Which Datatype is better Bit or tiny int? SQL Server 2005 Pin
Mike Dimmick9-Dec-07 6:51
Mike Dimmick9-Dec-07 6:51 
GeneralAutomatically update database defintion Pin
polishprogrammer7-Dec-07 3:35
polishprogrammer7-Dec-07 3:35 
QuestionData Regions within table/matrix cells are ignored Pin
praveenkjohn6-Dec-07 23:35
praveenkjohn6-Dec-07 23:35 
AnswerRe: Data Regions within table/matrix cells are ignored Pin
Saurabh09520-Oct-11 21:50
Saurabh09520-Oct-11 21:50 
General[Message Deleted] Pin
SreejithAchutan6-Dec-07 19:06
SreejithAchutan6-Dec-07 19:06 
GeneralRe: Check Condition Pin
Colin Angus Mackay7-Dec-07 1:08
Colin Angus Mackay7-Dec-07 1:08 
SreejithAchutan wrote:
return dbtObj.GetColumnValue(sqlstatement, "UnitId").ToString();


SreejithAchutan wrote:
if the user login had no unitid thn exception in sql is seen.How i overcome it


Look at your logic. What happens if GetColumnValue returns null? What does ToString() have to operate on?

You have to handle the case that GetColumnValue() may return null and not attempt to perform a ToString() operation on it.

Also your SQL prone to attack. You have not defended yourself against SQL Injection Attacks. Please read SQL Injection Attacks and Tips on How to Prevent Them[^]


SreejithAchutan wrote:
I want it urgently.


Finally, this irritates people. Do not say that you want an answer urgently. I don't care if it is true, it makes you look selfish that you demand attention before others. If it really is urgent then you will be willing to pay for support and since this is a free volunteer service you will get help when people have time to help you.




Upcoming FREE developer events:
* Developer Day Scotland

My website


GeneralRe: Check Condition Pin
SreejithAchutan7-Dec-07 17:45
SreejithAchutan7-Dec-07 17:45 
GeneralRe: Check Condition Pin
Colin Angus Mackay8-Dec-07 0:43
Colin Angus Mackay8-Dec-07 0:43 
Generalneed solution for converting the varchar value to int ** Pin
VenkataRamana.Gali6-Dec-07 18:58
VenkataRamana.Gali6-Dec-07 18:58 
GeneralRe: need solution for converting the varchar value to int ** Pin
Krish - KP6-Dec-07 19:33
Krish - KP6-Dec-07 19:33 
GeneralRe: need solution for converting the varchar value to int ** Pin
VenkataRamana.Gali6-Dec-07 19:46
VenkataRamana.Gali6-Dec-07 19:46 
GeneralRe: need solution for converting the varchar value to int ** Pin
Paddy Boyd7-Dec-07 0:39
Paddy Boyd7-Dec-07 0:39 
GeneralRe: need solution for converting the varchar value to int ** Pin
Krish - KP7-Dec-07 3:13
Krish - KP7-Dec-07 3:13 
QuestionProblem while accessing the sqlserver2005 in c# Pin
mohanallam6-Dec-07 17:36
mohanallam6-Dec-07 17:36 
GeneralRe: Problem while accessing the sqlserver2005 in c# Pin
pmarfleet6-Dec-07 21:08
pmarfleet6-Dec-07 21:08 
GeneralRe: Problem while accessing the sqlserver2005 in c# Pin
suyuan19846-Dec-07 23:09
suyuan19846-Dec-07 23:09 
QuestionDifference between SQL-Agent and SQL-QA when executing a SP Pin
asrs636-Dec-07 15:01
asrs636-Dec-07 15:01 
GeneralRe: Difference between SQL-Agent and SQL-QA when executing a SP Pin
Marek Grzenkowicz6-Dec-07 21:35
Marek Grzenkowicz6-Dec-07 21:35 
Questionlocal sql server database not updating Pin
webster.ut6-Dec-07 9:44
webster.ut6-Dec-07 9:44 
GeneralRe: local sql server database not updating Pin
Chris Meech6-Dec-07 10:02
Chris Meech6-Dec-07 10:02 
GeneralRe: local sql server database not updating Pin
Pete O'Hanlon6-Dec-07 10:04
mvePete O'Hanlon6-Dec-07 10:04 
GeneralMSDTC - Remote accessing SQL Server 2005 from a desktop application Pin
N a v a n e e t h6-Dec-07 5:31
N a v a n e e t h6-Dec-07 5:31 
GeneralRe: MSDTC - Remote accessing SQL Server 2005 from a desktop application Pin
GuyThiebaut6-Dec-07 9:55
professionalGuyThiebaut6-Dec-07 9:55 

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.