Viewing 15 posts - 11,716 through 11,730 (of 15,377 total)
You can just use simple math to achieve this.
create table #Date(Id int, start_time datetime, End_time datetime)--, time_diff
insert #Date
select 16496, '2012-05-19 06:01:36.767', '2012-05-19 06:01:36.783' union all
select 18496, '2012-05-19 06:01:36.767', '2012-05-21...
June 7, 2012 at 10:19 am
What Lynn is saying is that what you posted is not readily consumable (and it is also not insert statements).
The format for this should be something like:
INSERT STG_CAP_HLI
select 'CHJUSDDN', 'App',...
June 7, 2012 at 10:08 am
What you are describing is certainly possible. However from what you posted the details are pretty elusive. Can you post some ddl (create table scripts), sample data (insert statements) and...
June 7, 2012 at 9:35 am
If you dig around a bit on google you will quickly find that this is the color of your windows tooltip. From the 2 minutes googling it seems that this...
June 7, 2012 at 8:47 am
I would suggest that you clean up you joins. You are using the mix of the old style and new style joins.
FROM student
,student_enrollment
,enrollment
LEFT JOIN branch ON enrollment.branch_id = branch.branch_id
LEFT JOIN...
June 7, 2012 at 8:43 am
Please don't cross post. It just fragments replies. You will get better answers in a single thread. Please direct all replies to the first one here. http://www.sqlservercentral.com/Forums/Topic1312260-392-1.aspx
June 7, 2012 at 7:42 am
balaji.k.ramanar (6/6/2012)
but string and arabic not concatenating
through the below qry
/******************
select convert(nchar,Subject_Name_English,160)+nchar(8207) +
+ convert(nvarchar,Subject_Name_Arabic,160) collate SQL_Latin1_General_CP1_CI_AS
+(Subject_Previous_Name_English) +
(Subject_Previous_Name_Arabic) +
convert(nvarchar,rtrim(ltrim(convert(nvarchar,Subject_Date_of_Registration,101))),130)
as...
June 6, 2012 at 2:28 pm
Sourav-657741 (6/6/2012)
which takes up more resources like, CPU/memory/less use count. I assumed in this way
Well indexes do not use CPU.
By memory I assume you mean physical storage space? You can...
June 6, 2012 at 11:13 am
Even in Access you can't use reserved words. You seem to be short cutting a lot or best practices here. Column names like ID. You should at the very least...
June 6, 2012 at 10:56 am
irumman (6/6/2012)
I backed up the database and restore...
June 6, 2012 at 7:52 am
Agreed that the formatting was a bit challenging but a great question. Thanks Lynn!!!
June 6, 2012 at 7:06 am
villanueva.jonel (6/5/2012)
I have to clear my requirements.
I want to pullout records based on date and time(hour).
In my samples i have date range from 2012/06/04 and...
June 6, 2012 at 6:54 am
Tripz (6/5/2012)
I removed all the 3 functions and updated the query accordingly and executed it. it is taking 10 sec to execute now.
Thank you for all the help
I am trying...
June 6, 2012 at 6:46 am
My buddies and I have tickets to the Victory Suite for tonight's Open Cup match at Livestrong Park. The Victory Suite is usually reserved for cancer survivors (and thankfully their...
June 5, 2012 at 3:12 pm
Viewing 15 posts - 11,716 through 11,730 (of 15,377 total)