Viewing 15 posts - 11,536 through 11,550 (of 14,953 total)
That looks like a security issue to me. "Access denied" usually means they don't have the necessary login rights.
January 14, 2009 at 3:29 pm
I just tried using your XML with the value XML method, and it seems to work as documented. I don't have your schema, so I had to simplify a...
January 14, 2009 at 3:27 pm
Check the default trace on the server. See if a disable command is being issued.
January 14, 2009 at 3:13 pm
I'd have one table with the item ID and it's default description, and another table with the PK on item ID and customer ID, and the customer-specific description. Then...
January 14, 2009 at 3:10 pm
Try cast/convert on @tbl_num in the last line of your case statement. That should do it for you. Case statements go with the usual implicit conversion rules. ...
January 14, 2009 at 2:28 pm
Yes, Jack, that's what I already suggested on the other copy of this same question. 🙂
January 14, 2009 at 2:17 pm
I would seriously rethink this solution. Customer-generated descriptions should, really, be in a separate sub-table.
Otherwise, you're likely to end up with two or more descriptions for the same item...
January 14, 2009 at 2:15 pm
Instead of deleting and re-seeing, have you thought about using truncate?
January 14, 2009 at 2:11 pm
This thread is a cross-post. Please reply to the other copy, in T-SQL forum.
(As an aside, it already has IsDate in it. That won't solve it.)
January 14, 2009 at 1:56 pm
Hmm! I've never done that. Learn something new every day. I just tried it, on a server with just one instance, and got an error about RPC...
January 14, 2009 at 1:54 pm
The derived table not being processed first is exactly what I was refering to. That's why I've sometimes had to resort to a temp table instead of a derived...
January 14, 2009 at 1:52 pm
How are you planning on using this? Is it something that a web page or other application will use to look up the address(es) for a specific customer? ...
January 14, 2009 at 1:50 pm
Can you do a reverse lookup on it? Find all the rows where postal code "like '[0-9][0-9][0-9][0-9][0-9]' or like '[0-9][0-9][0-9][0-9][0-9]-[0-9][0-9][0-9][0-9]'", and then exclude those from your lookup? Those...
January 14, 2009 at 1:48 pm
You can't use flow-control like If...Else in views. You can in procs and user-defined functions. Are you actually trying to do this in a view?
January 14, 2009 at 1:42 pm
Viewing 15 posts - 11,536 through 11,550 (of 14,953 total)