Viewing 15 posts - 961 through 975 (of 1,957 total)
Give us a clue what you are trying to achieve, because multiplying a time doesn't make sense.
March 29, 2013 at 6:06 pm
Is the VB.NET app running the query itself, or is something else running it and passing the results to the application?
If it is the second option, how is it passing...
March 28, 2013 at 5:42 pm
Jeff Moden (3/26/2013)
mister.magoo (3/26/2013)
(I know the user running the job will have...
March 27, 2013 at 1:55 am
How do we all feel about SQL Agent Jobs and the ability to run operating system commands from them?
(I know the user running the job will have been configured to...
March 26, 2013 at 7:11 pm
dcdanoland (3/19/2013)
March 19, 2013 at 9:29 am
Thanks, I am sure I will find this useful.
Nicely written as well 🙂
March 19, 2013 at 7:30 am
Eugene Elutin (3/18/2013)
SELECT 1 UNION ALL SELECT 1 UNION ALL SELECT 1 UNION ALL SELECT 1 UNION ALL
SELECT 1 UNION ALL SELECT 1 UNION ALL...
March 18, 2013 at 8:11 pm
Just to stick up for the old CTE...
"On-the-fly" tally tables...
CTE method:
WITH E1(N) AS (
SELECT 1 UNION ALL SELECT 1 UNION ALL SELECT 1 UNION ALL SELECT 1 UNION ALL...
March 18, 2013 at 7:48 pm
declare @TestStr varchar(128) = 'DMV1004/343M.TR3432_PLC089_RIC_9843CL';
select @TestStr
from dbo.DelimitedSplit8K(@TestStr,'_')
where ItemNumber = 3
and Item = 'RIC'
You can get DelimitedSplit8K from here : http://www.sqlservercentral.com/articles/72993/
March 15, 2013 at 6:50 pm
Drop #TheChosenOnes on it's own first and then run the whole thing.
March 12, 2013 at 10:48 am
Siobhan Perricone (3/12/2013)
March 12, 2013 at 10:38 am
AndrewSQLDBA (3/12/2013)
I am working on some old data that should not be store this way, but it is.
My data is two values with pipe separators.
10.0||14.5
or
2||34
or
7.1||19
or
4||11.7
I need to query this...
March 12, 2013 at 10:37 am
Either do it in the query that populates the dataset
OR
Put a filter on the dataset
OR
put a filter on the matrix
March 12, 2013 at 10:33 am
Siobhan Perricone (3/12/2013)
March 12, 2013 at 10:32 am
You can't use a list of values in a variable directly in the "IN" clause, which is why you have the dynamic SQL...
March 12, 2013 at 3:42 am
Viewing 15 posts - 961 through 975 (of 1,957 total)