Viewing 15 posts - 211 through 225 (of 331 total)
SELECT DISTINCT title, installcount FROM table ORDER BY installcount
Forum Newbie
I tried and that doesn't work. the table will have duplicate values in title column that will have different values in...
July 14, 2011 at 8:23 pm
Your going to need to post some error messages at least to get somesort of response.
July 14, 2011 at 8:16 pm
Say that you want to create a table for tracking where individuals were living at different times. I can see a couple of ways to design such a table, and...
July 14, 2011 at 8:10 pm
Somewhat of a newbie when it comes to T-SQL so I will try my best to explain :). I have the following columns in a table (along with sample data):
Vendor...
July 14, 2011 at 7:59 pm
I thought you were talking more about restore. I have worked some where before where we had to do some consistent restoring. So i used xp_cmdshell dir to make a...
July 14, 2011 at 7:52 pm
you can use xp_cmdshell(not recommended on prod) and get the info through a query to build a script.
July 14, 2011 at 1:55 pm
ColdCoffee
What will happen if there are 2 differnct RcTypes other than 0 ?
Not sure probably something close to Maximum Overdrive.:w00t:
July 14, 2011 at 12:21 pm
kramaswamy in the original post he had both rctype =1 and rctype = 0 in the joins.
July 14, 2011 at 12:15 pm
No it is not the exact query he wrote because it gives the output hes looking for his query did not give the expected results. I understand he did not...
July 14, 2011 at 11:53 am
I have got your expected results but not sure if this is what you want.
select a.rcID,a.rcClaimno,c.adt from Credit c
join rcclaim a on aclaimno = a.rcclaimno
and a.rctype = 0
left join...
July 14, 2011 at 11:50 am
Your query would work better if you had some sort of id.
select distinct
T2.Number
from
table1 as T1
JOIN
table1 as T2
on T2.ID = T1.ID
where LTRIM(T2.Number) like '8%'
July 14, 2011 at 11:11 am
You need to figure out which database it is failing on. If you have to run the dbcc checkdb command on every db you have manually
July 14, 2011 at 7:51 am
What databases did you run it on? Do you know which one it failed on?
July 14, 2011 at 6:18 am
Viewing 15 posts - 211 through 225 (of 331 total)