Viewing 15 posts - 1,996 through 2,010 (of 5,504 total)
L09041975 (1/27/2011)
set @MyVariable = MyFunction(@MyParameter) andselect @MyVariable = MyFunction(@MyParameter) gave the following error:
'MyFunction' is not a recognized built-in function name.
Did you try to call the function including the schema?
E.g....
January 27, 2011 at 4:15 pm
1) The function is a UDF. It basically pull the ids based in the values provided.
It seems like this function can be eliminated and the lookup could be used directly...
January 27, 2011 at 12:18 pm
I tried to find the data in the tables used in your verbal description. But I couldn't.
You should start offering a voucher for the person that would provide ready to...
January 27, 2011 at 11:55 am
January 27, 2011 at 11:37 am
edit: duplicate post reply moved to the "twin post"
January 27, 2011 at 11:36 am
Carlton B Ramsey (1/27/2011)
The address search tool around 5 minutes the taxid...
January 27, 2011 at 11:00 am
@PSB:
Did you actually read my previous reply? My comment stands as it is. Reposting it won't change it.
January 27, 2011 at 10:51 am
PSB (1/26/2011)
I will confirm that if I can add persisted columns. Can you please explain how to do that ?
Here's one way how to do it.
You could also search the...
January 27, 2011 at 10:38 am
First of all: you did an excellent job setting up the test scenario and collecting the data!
What I would do as a next step is to compare the actual execution...
January 26, 2011 at 4:19 pm
PSB (1/26/2011)
I was not the one to create the tables.
"It wasn't me" is not a valid answer. 😉
The question is: can you change it? If not the column data type,...
January 26, 2011 at 3:50 pm
At a first glance there should be an easier solution.
But, like others, I prefer to test my solution before posting.
So, please provide table def, sample data and expected result as...
January 26, 2011 at 3:38 pm
SQL Iron Chef (1/26/2011)
you are a genius.i forgot my code won't be using an index with that datepart.
thanks!
:blush:
Naah... I'm just trying to return what I've learned over the years hanging...
January 26, 2011 at 3:30 pm
I'm sorry but I have to ask: since you posted on a SS2K8 version, why don't you use the DATE and TIME data type to store the info you need?
If...
January 26, 2011 at 3:26 pm
Here's how I'd do it:
SELECT something
FROM someentity
WHERE somedate>= DATEADD(mm,DATEDIFF(mm,0,GETDATE()),0)
Please note that I removed the datepart function from the source column to make it SARG-able (= to allow for an index...
January 26, 2011 at 3:17 pm
Viewing 15 posts - 1,996 through 2,010 (of 5,504 total)