Viewing 15 posts - 271 through 285 (of 430 total)
DECLARE @FILENAME TABLE (PHONE VARCHAR(10))
Regards,
gova
June 30, 2005 at 9:39 am
http://www.sqlservercentral.com/forums/shwmessage.aspx?forumid=8&messageid=186228
In this post you will find that.
Regards,
gova
June 29, 2005 at 10:54 am
This is how I made it with syscolumns. I don't want to ype 18 columns (original table has 18 columns and 18 row report). Also it helps to sort the...
Regards,
gova
June 28, 2005 at 6:32 am
I mis-read the original post.
Can you play around like this and post the results
/* Just to analize the data */
SELECT KeyField, * FROM dbo.EBTable WHERE KeyField IS NULL --...
Regards,
gova
June 27, 2005 at 10:03 pm
Thanks Scott. Noel gave the idea and I did something close to what you did to get my result set. Yes with xslt it would be elegant and easy. But...
Regards,
gova
June 27, 2005 at 9:50 pm
No Noel. Instead of typing 18 columns I can get the columns for category like that. I would do it in client if it is simple asp report. This needs...
Regards,
gova
June 27, 2005 at 9:48 pm
Cool. Thanks Noel.
With 18 columns (Report will have 18 rows) that will be a big query. But if I want to use SQL to compute I have to do it.
Regards,
gova
June 27, 2005 at 2:20 pm
Key field has value as 'NULL'.
It is not counted as NULL. It happens when you make a wrong query to insert nulls
SELECT COUNT(*) FROM dbo.EBTable WHERE KeyField IS NULL OR...
Regards,
gova
June 27, 2005 at 1:57 pm
Some one did not get the question. It was me. May be again.
Null values are ignored in aggregate function if you want to ignore them try using this
SELECT COUNT(DISTINCT COALESCE(ProductID,...
Regards,
gova
June 27, 2005 at 6:52 am
DECLARE @myCol VARCHAR(50)
DECLARE @myNum FLOAT
SET @myCol = '12.50'
SELECT @myNum = CASE WHEN ISNUMERIC(@myCol) = 1 AND @myCol <> '-' AND @myCol <> '.' THEN CONVERT(FLOAT, @myCol) ELSE 0 END
SELECT @myNum
SET ...
Regards,
gova
June 27, 2005 at 6:29 am
SELECT [ProductID], COUNT(*) AS Expr1 FROM [Order Details] GROUP BY [ProductID]
Regards,
gova
June 27, 2005 at 6:18 am
Sure Hanslindgren it doesn't matter. I would say some places it is easy to implement than other places.
As I mentioned the idea is...
Regards,
gova
June 26, 2005 at 9:04 am
Thanks Vasc. It works now. Let me see whether I can reproduce it in SQL.
Recursive is way too fast than non recursive. Check 1200. Not found is the answer.
Regards,
gova
June 24, 2005 at 3:00 pm
Can that program check whether there are any rows in the staging tables.
1. Create one step to check whether there are still rows in staging table that needs processing....
Regards,
gova
June 24, 2005 at 2:43 pm
Vasc - I trying to make your VB non-recursive logic without sucess. Can you please post the entire form code as that I can save as .frm and work. I...
Regards,
gova
June 24, 2005 at 2:37 pm
Viewing 15 posts - 271 through 285 (of 430 total)