Click here to Skip to main content
15,913,941 members
Home / Discussions / Database
   

Database

 
GeneralRe: try to get trigger_body over 32KB size Pin
yu-yu28-Jan-04 0:00
yu-yu28-Jan-04 0:00 
GeneralRe: try to get trigger_body over 32KB size Pin
Guillermo Rivero28-Jan-04 4:42
Guillermo Rivero28-Jan-04 4:42 
GeneralRe: try to get trigger_body over 32KB size Pin
yu-yu28-Jan-04 14:43
yu-yu28-Jan-04 14:43 
GeneralRe: try to get trigger_body over 32KB size Pin
Guillermo Rivero29-Jan-04 2:01
Guillermo Rivero29-Jan-04 2:01 
GeneralRe: try to get trigger_body over 32KB size Pin
yu-yu29-Jan-04 3:58
yu-yu29-Jan-04 3:58 
GeneralRe: try to get trigger_body over 32KB size Pin
Guillermo Rivero29-Jan-04 4:21
Guillermo Rivero29-Jan-04 4:21 
GeneralDataTable Pin
Guinness4Strength25-Jan-04 7:16
Guinness4Strength25-Jan-04 7:16 
GeneralRe: DataTable Pin
-Dr_X-25-Jan-04 8:22
-Dr_X-25-Jan-04 8:22 
Using the SQL statement is proably the easiest way. There shouldn't be much overhead regardless of the SQL statement if no rows are returned and the WHERE clause is set if an Key column not have a value in the table.

SELECT * FROM Employees WHERE EmployeeID = 0

Regardless of how many table are in the SQL statement, just make sure they are all joined correctly.

After you obtain the DataTable the 1st and only time, just cache it or use a singleton.

Michael
GeneralRe: DataTable Pin
Rein Hillmann25-Jan-04 21:01
Rein Hillmann25-Jan-04 21:01 
Generalseach or rowfilter by word Pin
Member 76660824-Jan-04 12:11
Member 76660824-Jan-04 12:11 
GeneralRe: seach or rowfilter by word Pin
-Dr_X-24-Jan-04 14:17
-Dr_X-24-Jan-04 14:17 
GeneralSQL Server 2000 date comparision Pin
Sarvesvara (BVKS) Dasa23-Jan-04 22:28
Sarvesvara (BVKS) Dasa23-Jan-04 22:28 
GeneralRe: SQL Server 2000 date comparision Pin
Mazdak24-Jan-04 2:10
Mazdak24-Jan-04 2:10 
GeneralRe: SQL Server 2000 date comparision Pin
Sarvesvara (BVKS) Dasa24-Jan-04 17:45
Sarvesvara (BVKS) Dasa24-Jan-04 17:45 
GeneralRe: SQL Server 2000 date comparision Pin
Serge Lobko-Lobanovsky28-Jan-04 23:17
Serge Lobko-Lobanovsky28-Jan-04 23:17 
GeneralSQL Password Validation Does Not Work Pin
Brendan Vogt23-Jan-04 2:16
Brendan Vogt23-Jan-04 2:16 
GeneralRe: SQL Password Validation Does Not Work Pin
Steve S23-Jan-04 2:25
Steve S23-Jan-04 2:25 
GeneralRe: SQL Password Validation Does Not Work Pin
Mazdak23-Jan-04 2:32
Mazdak23-Jan-04 2:32 
GeneralRe: SQL Password Validation Does Not Work Pin
Mike Dimmick26-Jan-04 2:44
Mike Dimmick26-Jan-04 2:44 
GeneralFormatting MSDE Output Pin
monrobot1322-Jan-04 18:52
monrobot1322-Jan-04 18:52 
GeneralRe: Formatting MSDE Output Pin
Not Active23-Jan-04 3:51
mentorNot Active23-Jan-04 3:51 
GeneralRe: Formatting MSDE Output Pin
monrobot1323-Jan-04 10:54
monrobot1323-Jan-04 10:54 
QuestionCount rows with SqlDataAdapter?? Pin
hxxbin22-Jan-04 11:52
hxxbin22-Jan-04 11:52 
AnswerRe: Count rows with SqlDataAdapter?? Pin
-Dr_X-22-Jan-04 12:13
-Dr_X-22-Jan-04 12:13 
AnswerRe: Count rows with SqlDataAdapter?? Pin
Mike Dimmick23-Jan-04 0:17
Mike Dimmick23-Jan-04 0:17 

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.