Viewing 15 posts - 406 through 420 (of 432 total)
Can you post the DDL of the table involved and some sample data?
January 26, 2007 at 9:19 am
Hi,
What is the error message that you receive from this? I have tried using the cursor with the following and have not managed to recreate the problem...
DECLARE @count
January 26, 2007 at 6:18 am
I believe that you can detach the MSDE database file and attach it to the SQL Server 2000 installation...
Check out: http://support.microsoft.com/kb/325023
Find "detach...
January 26, 2007 at 6:13 am
Hi,
This is what I believe are causing one of your errors:
is_dup is not in your DECLARE @TEMP_duplicates TABLE statement
As for the...
January 26, 2007 at 6:09 am
You say you have a working query which you then want to JOIN another table and add a WHERE clause... Could you store the results of the initial query in...
January 23, 2007 at 5:07 am
Here goes, two feet first straight in to the unknown!!!
Try using a derived table subquery like this:
SELECT ISNULL(COUNT(derivedCustomers_Trade.TradeCustomerID), 0) AS PCCount,
dbo.UkPostcodes.Postcode,...
January 19, 2007 at 10:32 am
Can you post the SQL for the stored procedure in question, and it's calling procedure?
That'll help us to help you.
January 19, 2007 at 6:55 am
Paul,
You could try using CHARINDEX (take a look in BOL) like this:
SELECT myCol FROM myTable WHERE CHARINDEX( ' ', myCol, 1 ) > 0
There is a space in between...
January 19, 2007 at 6:51 am
Okay, I think I've got it... Try this as your derived table:
(select
sec_prod_group,
p.date_start,
qty_sold
from
depot_items i
LEFT join depot_pos_item_sum p
on i.idx_item = p.idx_item
where sec_prod_group in ( 'Metal', 'Blue' )
) ...
January 16, 2007 at 10:36 am
I don't think that this is possible, although depending on the complexity of the UDF, you might be able to use a computed column.
January 16, 2007 at 10:33 am
I'm a bit confused as to why you would want a dynamic caption, if you could explain more about the problem, there may be a better way around it...
January 16, 2007 at 10:25 am
Can you post the DDL (data definition language) of the tables used, ie the CREATE statements? Only include the columns necessary if there's any issues with exposure. Also some example data...
January 16, 2007 at 10:08 am
Hi, you'll need to post the DDL (data definition language) of your table and be a bit more specific about your problem...
Are you...
January 16, 2007 at 9:56 am
I've replied to your post in the other thread:
http://www.sqlservercentral.com/forums/shwmessage.aspx?forumid=169&messageid=337136
Please try to post each problem in only one thread...
January 16, 2007 at 9:13 am
Viewing 15 posts - 406 through 420 (of 432 total)