Re: How to insert a banner between news?
From: John Bell (jbellnewsposts_at_hotmail.com)
Date: 10/03/04
- Next message: Ganesh: "Sql server not showing on startup"
- Previous message: Dan Guzman: "Re: Is it possible to write and add in to sql server analyzer?"
- In reply to: Ragnar Heil: "How to insert a banner between news?"
- Next in thread: John Bell: "Re: How to insert a banner between news?"
- Reply: John Bell: "Re: How to insert a banner between news?"
- Messages sorted by: [ date ] [ thread ]
Date: Sun, 3 Oct 2004 20:31:04 +0100
Hi
If this is actually a SQL Server problem then you should post the DDL and
example data such as http://sqlxml.org/faqs.aspx?faq=10
http://sqlxml.org/faqs.aspx?faq=29 and code.
This does seem to be a programming issue, but use of the case statement may
be possible to determine if the banner is to be present and/or you can
construct your HTML within the SQL statement.
John
"Ragnar Heil" <r@gnar.de> wrote in message
news:Xns9577A45CD994Argnarde@130.133.1.4...
>
> I get a news-list with 4 items back from a SQL-query. That already works
> fine.
>
> Now I want to insert a banner after the 2nd news. Let's keep it simple,
> if blnBanner = true then
> <img src....>
> end if
>
> SQLQuery: "SET ROWCOUNT 4 SELECT COUNT(*) FROM mytable"
>
> how can I do it?
- Next message: Ganesh: "Sql server not showing on startup"
- Previous message: Dan Guzman: "Re: Is it possible to write and add in to sql server analyzer?"
- In reply to: Ragnar Heil: "How to insert a banner between news?"
- Next in thread: John Bell: "Re: How to insert a banner between news?"
- Reply: John Bell: "Re: How to insert a banner between news?"
- Messages sorted by: [ date ] [ thread ]