Viewing 15 posts - 8,116 through 8,130 (of 26,490 total)
And providing this info in this format would really help:
declare @TestData table (
tdid int identity(1,1),
timedata char(9)
);
insert into @TestData
values ('0'),('02:19'),('-03:06'),('00:22'),('00:39');
select * from @TestData...
April 5, 2013 at 1:09 pm
MtnMan92 (4/5/2013)
I apologize but I'm not creating any tables yet or inserting any data. Just running the query to be sure I pull in the data that I...
April 5, 2013 at 1:07 pm
Would also help to have more than one negative value in your sample data. Hard to tell how multiple negative values should be sorted along with the multiple non-negative...
April 5, 2013 at 1:00 pm
It would help to see what you are working with not just this vague decription.
Please read the first article I reference below in my signature block regarding asking for help....
April 5, 2013 at 12:45 pm
April 5, 2013 at 12:32 pm
M Garcia (4/5/2013)
Hey Lynn,I am new to this so some patience maybe required.
By traces are you referring to Profiler? How would performance be impacted?
No, I am not refering to...
April 5, 2013 at 12:31 pm
MtnMan92 (4/5/2013)
April 5, 2013 at 12:24 pm
Lacking further information this is the best I can provide. You will have figure out the rest.
declare @SQLCmd nvarchar(max),
@sparams nvarchar(max);
set @sparams...
April 5, 2013 at 12:19 pm
jbalbo (4/5/2013)
Thanks and sorry....I was caught up with something and should have thought it out before I posted it
Just one of those so simple ones. Happens at times.
April 5, 2013 at 12:01 pm
Bottom line, there isn't enough informatiion in your posts for me to do anything. I don't know what an actually query is supposed to look like, I don't know...
April 5, 2013 at 11:24 am
I came up with this using a very simplistic setup:
declare @TestTab table(
tid int identity(1,1),
tdata varchar(10)
);
insert into @TestTab
values ('a'),('b'),('c'),('d');
with Top2 as (
select top...
April 5, 2013 at 11:19 am
sqlguy-736318 (4/5/2013)
Also, I seem...
April 5, 2013 at 11:13 am
Are you talking about tables like this #MyTempTable?
April 5, 2013 at 10:50 am
The following should work.
CREATE PROCEDURE [dbo].[Get_Ques_id_for_can](
@candidate_id varchar(max),
@Exam_id varchar(max),
@sec_id bigint,
@Q_id varchar(max) OUTPUT
)
AS
declare @table_query nvarchar(max);
declare @table...
April 5, 2013 at 10:43 am
Viewing 15 posts - 8,116 through 8,130 (of 26,490 total)