Viewing 15 posts - 46 through 60 (of 569 total)
Hi,
You’re in the 2008 Forums, but you need for 2000!!!
Select count (*) from sys.databases -- above 2000 version
select count (*) from master..sysdatabases -- in 2000
January 21, 2010 at 9:55 pm
Repeated post, discussion already started in
http://www.sqlservercentral.com/Forums/Topic851707-392-1.aspx?Update=1
January 21, 2010 at 9:26 pm
Hi,
From your sample data, we can do it by min,max class
create table #T( GPName varchar(10),Year int,Qtr int,Total_Doses int)
insert into #T
select 'XYZ',2008,1,20 union all
select 'XYZ',2008,2,300 union all
select 'XYZ',2009,4,500 union all
select 'BNG',2007,2,440...
January 21, 2010 at 9:25 pm
Chris Morris-439714 (1/21/2010)
SELECT title, REPLACE(title, '_', '/') AS NewTitleFROM #TSRECORD
WHERE LEFT(title,4) = '170_'
AND LEFT(REVERSE(title), 3) = '30_'
or
SELECT title, REPLACE(title, '_', '/') AS NewTitle
FROM #TSRECORD
WHERE title...
January 21, 2010 at 3:25 am
Hi,
You’re divided the Integer values, so you get the integer value of the zero (int are the round values, not the decimal)
You convert the int value to decimals then divide...
January 21, 2010 at 12:28 am
Aaron Gonzalez-394690 (1/20/2010)
January 20, 2010 at 10:56 pm
Hi,
A news from new co-worker in the lunch, they have the server in one location and another sister office access the application by the 2mbps RF connection just 40 kms...
January 20, 2010 at 9:23 pm
Hi,
Refer the below link, see RBarryYoung approach on this.
http://www.sqlservercentral.com/Forums/Topic473301-169-1.aspx
January 20, 2010 at 4:14 am
Hi,
In fact it’s a fun, I asked, why you put the len(drivers)>2 in your select statement, but you says the normal group by/ select is enough. However thanks!!!
January 19, 2010 at 2:48 am
bhakti-795560 (1/19/2010)
Current Query
Select distinct(vehicle_name),drivers from (SELECT...
January 19, 2010 at 2:35 am
Hi,
You’re existing trace file contains the start date/ end date in the display column in the trace then its easy to capture/see the trace between these dates,
By just open...
January 19, 2010 at 12:23 am
Hi,
What you have written in the statement is correct, but you should convert the date time type by convert (varchar (15), tet.dteTravelDate, 103)
(case when pt.intPointTypeID = 1 then convert (varchar...
January 18, 2010 at 11:18 pm
Hi,
There is no direct commends in the SQL to call the system event log file, you export the event log files to the local drive as a text file...
January 18, 2010 at 4:12 am
Hi ram,
This may also another way you to go by coalesces. However you got the mean to archive.
January 18, 2010 at 4:03 am
Ramakrishnan-403797 (1/18/2010)
sum(datediff(second, '01/15/2010 10:35:51', '01/15/2010 11:05:51'))
Hi,
select datediff(second, '01/15/2010 10:35:51', '01/15/2010 11:05:51') /3600.00
select datediff(second, '01/15/2010 10:35:51', '01/15/2010 12:05:51')/3600.00
January 18, 2010 at 3:54 am
Viewing 15 posts - 46 through 60 (of 569 total)