Click here to Skip to main content
15,924,367 members
Home / Discussions / Database
   

Database

 
GeneralRe: Help Error "SELECT permission denied on object 'Contacts', database 'Contacts', owner 'dbo'. " Pin
Terry Denham13-Jan-03 10:22
Terry Denham13-Jan-03 10:22 
GeneralDetermine column's datatype Pin
Sarvesvara (BVKS) Dasa13-Jan-03 2:49
Sarvesvara (BVKS) Dasa13-Jan-03 2:49 
GeneralRe: Determine column's datatype Pin
leppie13-Jan-03 7:22
leppie13-Jan-03 7:22 
GeneralRe: Determine column's datatype Pin
Sarvesvara (BVKS) Dasa13-Jan-03 19:43
Sarvesvara (BVKS) Dasa13-Jan-03 19:43 
GeneralRe: Determine column's datatype Pin
leppie14-Jan-03 6:24
leppie14-Jan-03 6:24 
GeneralRe: Determine column's datatype Pin
quannum14-Jan-03 12:21
quannum14-Jan-03 12:21 
GeneralRe: Determine column's datatype Pin
Sarvesvara (BVKS) Dasa14-Jan-03 19:52
Sarvesvara (BVKS) Dasa14-Jan-03 19:52 
GeneralSkeletons in my SQL closet Pin
Megan Forbes13-Jan-03 1:21
Megan Forbes13-Jan-03 1:21 
I have a query which returns a recordset for a statement which is displayed in ASP. It works very nicely - except for one thing. I suddenly noticed that although my

if rstDisplay.BOF or rstDisplay.EOF then - display error msg

else - display statement

works really well unless the firm has never had a single transaction (iow. if it has had transactions, just not within the current requested dates). The page then errors. After investigation I have found that it is because of fields sitting in the background which have been returned (eg. the firm name does exist in one of the tables, so that field is hiding in the background somewhere)

so the following returns:

Response.Write "state: " & rstDisplay.State -Displays "1"

Response.Write "count: " & rstDisplay.Fields.count -Displays "18"

so now I want to play with joins in query analyser. I am using @@rowcount to see how many rows are displayed, but don't know what to use to show the fields (like asp .fields.count). Can anyone enlighten me please?

Thanks Smile | :)



I knew it would end badly when I first met Chris in a Canberra alleyway and he said 'try some-it won't hurt you'... -Christian Graus on Code Project outages

His thoughts tumbled in his head, making and breaking alliances like underpants in a tumble dryer.
It hurt the way your tongue hurts after you accidentally staple it to he wall
-Shaun Wilde
GeneralRe: Skeletons in my SQL closet Pin
Jeremy Oldham13-Jan-03 1:32
Jeremy Oldham13-Jan-03 1:32 
GeneralRe: Skeletons in my SQL closet Pin
Megan Forbes13-Jan-03 9:10
Megan Forbes13-Jan-03 9:10 
GeneralRe: Skeletons in my SQL closet Pin
Jeremy Oldham13-Jan-03 10:22
Jeremy Oldham13-Jan-03 10:22 
GeneralRe: Skeletons in my SQL closet Pin
Megan Forbes13-Jan-03 23:52
Megan Forbes13-Jan-03 23:52 
GeneralRe: Skeletons in my SQL closet Pin
Terry Denham13-Jan-03 10:38
Terry Denham13-Jan-03 10:38 
GeneralRe: Skeletons in my SQL closet Pin
Terry Denham13-Jan-03 10:42
Terry Denham13-Jan-03 10:42 
GeneralAccess database Pin
Sarvesvara (BVKS) Dasa12-Jan-03 23:31
Sarvesvara (BVKS) Dasa12-Jan-03 23:31 
GeneralRe: Access database Pin
SimonS12-Jan-03 23:54
SimonS12-Jan-03 23:54 
GeneralRe: Access database Pin
Sarvesvara (BVKS) Dasa13-Jan-03 2:42
Sarvesvara (BVKS) Dasa13-Jan-03 2:42 
GeneralRe: Access database Pin
David Wulff13-Jan-03 10:18
David Wulff13-Jan-03 10:18 
GeneralRe: Access database Pin
Sarvesvara (BVKS) Dasa13-Jan-03 20:40
Sarvesvara (BVKS) Dasa13-Jan-03 20:40 
GeneralWeb site does not deploy Pin
dyerstein12-Jan-03 7:27
dyerstein12-Jan-03 7:27 
GeneralRe: Web site does not deploy Pin
Sarvesvara (BVKS) Dasa12-Jan-03 23:30
Sarvesvara (BVKS) Dasa12-Jan-03 23:30 
GeneralDisconnected ADO Recordset Pin
Ranjan Banerji11-Jan-03 6:00
Ranjan Banerji11-Jan-03 6:00 
GeneralRe: Disconnected ADO Recordset Pin
Hesham Amin11-Jan-03 8:05
Hesham Amin11-Jan-03 8:05 
GeneralImporting Text Files into SQLServer Pin
dturton10-Jan-03 13:28
dturton10-Jan-03 13:28 
GeneralRe: Importing Text Files into SQLServer Pin
mwilliamson12-Jan-03 15:49
mwilliamson12-Jan-03 15:49 

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.