Viewing 15 posts - 6,526 through 6,540 (of 15,381 total)
This should do it.
select dateadd(dd, datediff(dd, 0, GETDATE()), 0) + CAST('04:00:00' as time)
October 11, 2013 at 8:46 am
smharabbani40 (10/11/2013)
MonthYear is the INT data type.that is only the issue ,becuse of that between is not working....i can able to change datatype....
if any suggestion/fixe rather than this please...
October 11, 2013 at 8:44 am
Somewhat difficult to figure out what you are trying to do here. I think maybe you are trying to generate a comma separated list of values from the last query?
Take...
October 11, 2013 at 8:38 am
mpradeep23 (10/11/2013)
i am unable to start the service it is giving error
And what would the error message say? We can't really offer much help if you don't tell us what...
October 11, 2013 at 8:03 am
smharabbani40 (10/11/2013)
i have used the below Query which is not satisfieing.
...
October 11, 2013 at 8:02 am
One other thing is you might want to read up on NOLOCK. You have it littered all over this query. That hint is not a magic go fast solution. It...
October 11, 2013 at 7:51 am
smharabbani40 (10/11/2013)
I have one table which contines 3 columns they are
1.emp
2.monthyear
3.amount
in that table i am having four rows like below.
emp monthyear amount
1 ...
October 11, 2013 at 7:42 am
yogi123 (10/10/2013)
I need to Create a Function who pulls data from string and load to the table. here is sample string
'CHG_FEP_SVC_GRP_ID(1) :: Expected Value = 1 :: Actual Value =...
October 10, 2013 at 3:16 pm
vigneshlagoons 51204 (10/10/2013)
I am doing this for SSRS reports. I mean its like when user logs in as CCSG Group these group values should also show up(Site Group, Sales...
October 10, 2013 at 9:58 am
thedavegray (10/10/2013)
Sean Lange (10/10/2013)
You can cheat a little bit here since you just want to add a time datatype to a datetime.
select @DateTime + @TheTime
Hi,
that seems to work but...
October 10, 2013 at 9:35 am
vigneshlagoons 51204 (10/10/2013)
This is just fine. Now on top of this. I just want to display LOB Group, Site Group, Service Group for CCSG Group.
EX: If Mike log in,...
October 10, 2013 at 9:31 am
You can cheat a little bit here since you just want to add a time datatype to a datetime.
select @DateTime + @TheTime
October 10, 2013 at 9:21 am
Here is another way without using the ROW_NUMBER window function.
select top 1 column5 from
(
SELECT [column5], 1 as SortOrder FROM [dbo].[table2] WHERE [column1ID] = 5
UNION
SELECT NULL, 2
)x order by SortOrder
October 10, 2013 at 8:22 am
Wow it still pretty tough to figure out what you want as output. I took the liberty of extracting your ddl and sample data here so others can find it...
October 10, 2013 at 8:13 am
Junglee_George (10/10/2013)
[rsRuntimeErrorInExpression] The Value expression for the textrun ‘Textbox96.Paragraphs[0].TextRuns[0]’ contains an error: Overload resolution failed because no...
October 10, 2013 at 7:52 am
Viewing 15 posts - 6,526 through 6,540 (of 15,381 total)