Viewing 15 posts - 7,741 through 7,755 (of 15,381 total)
Thanks Steve.
June 27, 2013 at 10:19 am
Steve Jones - SSC Editor (6/27/2013)
I think this is on our list, but I've forwarded it on and (hopefully) given it a bump.
Maybe see if they can add author to...
June 27, 2013 at 9:45 am
Can you post the c# code that does the conversion?
June 27, 2013 at 9:43 am
You are welcome. Hope that helps get you going.
June 27, 2013 at 9:39 am
See if something like this will get you started. Please notice how I posted ddl and sample data in a consumable format.
if OBJECT_ID('tempdb..#Something') is not null
drop table #Something
create table #Something
(
Ticket...
June 27, 2013 at 8:49 am
DataAnalyst011 (6/27/2013)
...here's an example of another version I've seen: NOT LIKE '%[^0-9]%'
This is another regular expression. This basically is saying give me all the rows where the value is not...
June 27, 2013 at 8:38 am
DataAnalyst011 (6/27/2013)
June 27, 2013 at 8:32 am
Barkingdog (6/27/2013)
June 27, 2013 at 8:30 am
IIRC =* is a right join, not a left join. *= is a left join.
SELECT A.recid,
A.id,
A.PROCID,
A.pstatus,
B.pname,
B.pdesc,
LEN(pname) AS plen,
CASE WHEN C.seq IS NULL THEN 0 ELSE 1 END AS DISABLED
FROM lprocs...
June 27, 2013 at 8:24 am
Duplicate post. direct replies here. http://www.sqlservercentral.com/Forums/Topic1468108-2796-1.aspx
June 27, 2013 at 8:06 am
Duplicate post. direct replies here. http://www.sqlservercentral.com/Forums/Topic1468108-2796-1.aspx
June 27, 2013 at 8:06 am
You really should at least test the sample data and such when you post it. What you posted was not really consumable. I modified all your inserts that they will...
June 27, 2013 at 8:00 am
And here is an example of doing this without using a recursive cte for counting. This code also will only return data for the specified month even if the @StartDate...
June 27, 2013 at 7:47 am
Barkingdog (6/26/2013)
Its seems more involved than using a cursor! I am reading the article slowly.BD
Not sure that it is more involved than a cursor. It is a different mindset than...
June 27, 2013 at 7:29 am
sivaj2k (6/27/2013)
declare @table table (id int identity(1,1),item varchar(10),amt int)
insert into @table values (1,100),(2,200),(3,300),(4,400)
declare @sumtotal int
select @sumtotal = SUM(amt) from @table
SELECT a.id, a.amt,@sumtotal-SUM(b.amt)
FROM ...
June 27, 2013 at 7:27 am
Viewing 15 posts - 7,741 through 7,755 (of 15,381 total)