Viewing 15 posts - 136 through 150 (of 163 total)
Some information for you:
I'am a Delphi developper, making a asp.net web application.
I have a two columns page: left 450 pixels and right 150 pixels width.
The colums have icons at the...
December 23, 2004 at 2:59 pm
Kenneth,
Thanks for your explanation, it made clear that it is not an easy problem.
I think that the solution I once saw, was separating the first row from the other rows....
December 23, 2004 at 1:26 am
@tab Alleman:
Nice trick, but I am sorry to tell you that it doesn't work.
It gives a "Incorrect syntax error" in the Enterprise Manager.
@gregory Grager
I think that...
December 22, 2004 at 2:13 am
Frank,
Thank you for your clear explanation.
See, if I can use your way of handling this problem.
But, I will look futher on, trying to find the solution again.
Maybe it was just...
December 21, 2004 at 6:10 am
Frank,
Thank you for your answer.
I tried it, but it is not what I wanted. I'm impressed by your sql but it is to difficult for me to understand the way...
December 21, 2004 at 3:34 am
Kenneth and David thanks for your answers.
I see that I didn't explain my question well enough.
The point is, that I want two Queries:
1. one giving the top 3 rows (the...
December 20, 2004 at 7:37 am
Try this:
UPDATE MyTable SET DateField = CAST(NULL AS DATETIME) WHERE ID = 1
or
UPDATE MyTable SET DateField = NULL WHERE ID = 1
December 12, 2004 at 7:59 am
Jeff,
Thank you for your answer.
You described exactly my pain. My SQL is one page long, and my first solution was exactly the same, so I got two pages of SQL....
November 26, 2004 at 5:13 am
That is a good idee.
But ...
I did show you the essentials of my problem in a simple test-program.
The real program uses a rather huge amount of sql, with lots of...
November 26, 2004 at 5:03 am
But will it work in the ASP.NET application, written in Delphi?
I'll try 😉
As, eating is the proof of the pudding
November 26, 2004 at 4:07 am
David, thank you for your solution.
I tried in the Enterprise Manager:
WHERE CategoryId = ISNULL(NULLIF(@parameter,0),CategoryId)
(it is a nice idee to do it this way)
But it gives an error, saying something like:
(translated...
November 26, 2004 at 3:27 am
You could also cast the Text as Varchar, andreplace CR/LF by a space.
I use:
LTRIM(REPLACE(CAST([TextField] AS VARCHAR(100), CHAR(13) + CHAR(10), ' ')))
Sometimes it ends on a #13, in my solution this...
September 29, 2004 at 2:22 am
Due to XML or HTML parsing the "Long Text" part of the message and the header has gone, I think.
The message was:
When I have a decimal field (e.g. decimal precision.scal...
September 8, 2004 at 1:45 am
Now, is there anyway to query the same information from the DB itself?
Answer
In EM or QA with @@version
E.G.
Open a table (Select all rows) open the Sql window (click on the...
August 11, 2004 at 3:40 am
Thanks I'll use DATEADD in the future.
(I corrected the 2nd line in a DateAdd SELECT)
Henk
June 29, 2004 at 2:55 pm
Viewing 15 posts - 136 through 150 (of 163 total)