Click here to Skip to main content
15,921,169 members
Home / Discussions / Database
   

Database

 
GeneralRe: Help !!! Pin
WDI11-Sep-05 0:49
WDI11-Sep-05 0:49 
GeneralRe: Help !!! Pin
Colin Angus Mackay11-Sep-05 1:46
Colin Angus Mackay11-Sep-05 1:46 
QuestionStored Procedure - Verification Pin
phokojoe10-Sep-05 2:35
phokojoe10-Sep-05 2:35 
AnswerRe: Stored Procedure - Verification Pin
Colin Angus Mackay10-Sep-05 5:04
Colin Angus Mackay10-Sep-05 5:04 
GeneralRe: Stored Procedure - Verification Pin
phokojoe10-Sep-05 23:56
phokojoe10-Sep-05 23:56 
GeneralRe: Stored Procedure - Verification Pin
Colin Angus Mackay11-Sep-05 0:15
Colin Angus Mackay11-Sep-05 0:15 
GeneralRe: Stored Procedure - Verification Pin
Colin Angus Mackay11-Sep-05 0:21
Colin Angus Mackay11-Sep-05 0:21 
GeneralRe: Stored Procedure - Verification Pin
phokojoe11-Sep-05 22:11
phokojoe11-Sep-05 22:11 
well this looks like it will work. Hoever, I foxed the first procedure 'searchfornull' and when I give it the parameter it returns all the columns names without records.
But as for procedur GetEmptyColumnNames, it returns only the first column name in the first select but not records and it looks like it does not return all other coulmn names.

e.g. This is how it looks:

CREATE PROCEDURE dbo.GetEmptyColumnNames
@id numeric
AS
Select 'a1' as A1
FROM hhdata
WHERE (a1 IS NuLL Or a1='..') AND refno = @id
UNION
Select 'a2' as A2
FROM hhdata
WHERE (a2 IS NuLL Or a2='..') AND refno = @id
UNION
Select 'a3' as A3
FROM hhdata
WHERE (a3 IS NuLL Or a3='.') AND refno = @id

exec getemptycolumnnames 043701137010041

where 043701137010041 is a record in the refno and of course there are many records in the refno column, I thought it will return all the column names in that 043701137010041 which are null or '..'. Infact that is what I want to see.

------------returns
A1 not even a record in a1.

phokojoe
GeneralRe: Stored Procedure - Verification Pin
Colin Angus Mackay12-Sep-05 1:55
Colin Angus Mackay12-Sep-05 1:55 
QuestionFree Databases Pin
Robert M Greene9-Sep-05 16:56
Robert M Greene9-Sep-05 16:56 
QuestionSQL Restore Mystery Pin
mjackson119-Sep-05 13:06
mjackson119-Sep-05 13:06 
AnswerRe: SQL Restore Mystery Pin
Rahul Walavalkar13-Sep-05 0:11
Rahul Walavalkar13-Sep-05 0:11 
QuestionTimeout Expired The timeout period elapsed prior to completion Pin
Jaffer Mumtaz9-Sep-05 1:22
Jaffer Mumtaz9-Sep-05 1:22 
AnswerRe: Timeout Expired The timeout period elapsed prior to completion Pin
OMalleyW9-Sep-05 1:51
OMalleyW9-Sep-05 1:51 
AnswerRe: Timeout Expired The timeout period elapsed prior to completion Pin
miah alom9-Sep-05 5:39
miah alom9-Sep-05 5:39 
GeneralRe: Timeout Expired The timeout period elapsed prior to completion Pin
Andy Brummer9-Sep-05 5:57
sitebuilderAndy Brummer9-Sep-05 5:57 
GeneralRe: Timeout Expired The timeout period elapsed prior to completion Pin
miah alom9-Sep-05 6:12
miah alom9-Sep-05 6:12 
GeneralRe: Timeout Expired The timeout period elapsed prior to completion Pin
Andy Brummer9-Sep-05 11:28
sitebuilderAndy Brummer9-Sep-05 11:28 
AnswerRe: Timeout Expired The timeout period elapsed prior to completion Pin
OMalleyW9-Sep-05 6:48
OMalleyW9-Sep-05 6:48 
GeneralRe: Timeout Expired The timeout period elapsed prior to completion Pin
miah alom9-Sep-05 7:04
miah alom9-Sep-05 7:04 
GeneralRe: Timeout Expired The timeout period elapsed prior to completion Pin
OMalleyW9-Sep-05 7:34
OMalleyW9-Sep-05 7:34 
GeneralRe: Timeout Expired The timeout period elapsed prior to completion Pin
miah alom9-Sep-05 7:56
miah alom9-Sep-05 7:56 
GeneralRe: Timeout Expired The timeout period elapsed prior to completion Pin
Jaffer Mumtaz11-Sep-05 19:41
Jaffer Mumtaz11-Sep-05 19:41 
GeneralRe: Timeout Expired The timeout period elapsed prior to completion Pin
OMalleyW12-Sep-05 6:32
OMalleyW12-Sep-05 6:32 
GeneralRe: Timeout Expired The timeout period elapsed prior to completion Pin
Andy Brummer12-Sep-05 8:27
sitebuilderAndy Brummer12-Sep-05 8:27 

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.