Viewing 15 posts - 17,566 through 17,580 (of 18,926 total)
Sounds like dynamic sql task here... What problem are you trying to solve?
May 30, 2005 at 6:25 am
I've been told to stay away from that include file so I'll forward that to you.
here's the bit that's missing :
response.write "No Of Records = " & rs1.fields("Fieldname").value...
May 27, 2005 at 11:32 am
Sorry didn't see this last question untill now...
just add
CASE WHEN datepart(m, tblInvoiceMaster.invoice_date) = 5 AND year_col = 2004 THEN...
May 27, 2005 at 10:04 am
Too much distraction here... can't post fast enough now
.
May 27, 2005 at 9:45 am
Unles you preffer doing a count(*) for each table which can be slow, I would suggest you keep using the index technic.
If you don't want have out of date info,...
May 27, 2005 at 9:45 am
Hey Steve, is it possible to have the nightmare stories back up on the site someday? I'd like to reread some of those..
May 27, 2005 at 9:24 am
I'm sure you'll have a few questions after this one... Don't be afraid to ask.
May 27, 2005 at 9:14 am
Here's how I open a record set that uses a stored proc
proc code :
CREATE PROCEDURE [dbo].[SPNDemo] @ObjectName as varchar(50), @id as int output
AS
SET NOCOUNT ON
SET @id = object_id(@ObjectName)
SELECT
...
May 27, 2005 at 9:13 am
I like using the sys* tables... they are in every database and it avoids the time loss of making/deleting the temp tables... and I figured that my exemple was clear...
May 27, 2005 at 8:49 am
Never be sorry for not knowing something... be even less sorry for finding the solution
.
May 27, 2005 at 8:47 am
sql = "EXEC sp_NoOfRecords" &_
" @VTitle='" & VTitle & "'"
rs.CursorLocation=adUseClient
Set rs = Conn.Execute(sql)
May 27, 2005 at 8:42 am
How did it get fixed?
And how the hell did you do that?????????????
May 27, 2005 at 8:37 am
Nice trick... but I thaught that the RecordCount problem was due to the cursor and lock type, not the location. Do you have any readings on this.
BTW it's the...
May 27, 2005 at 8:15 am
That's true... experience does come at a cost.
I'd like to come in a interview and answer that question : How much experience do you have with Sql Server
A : (while...
May 27, 2005 at 8:11 am
Viewing 15 posts - 17,566 through 17,580 (of 18,926 total)