Viewing 15 posts - 256 through 270 (of 314 total)
September 22, 2008 at 12:25 am
Jeff Moden (9/21/2008)
September 22, 2008 at 12:18 am
Kerrie Jones (9/22/2008)
SELECT year, Q1Amt + Q2Amt + Q3Amt + Q4Amt AS Actual
FROM Table1
WHERE (buildingID = @buildingID)
ORDER...
September 22, 2008 at 12:13 am
Luke L (9/16/2008)
September 20, 2008 at 2:12 am
Jeff Moden (9/18/2008)
Problem:SELECT 1/10
Solution:
SELECT 1/10.0
Many newbies are not beware of implicit convertions 🙂
http://sqlblogcasts.com/blogs/madhivanan/archive/2008/01/16/beware-of-implicit-conversions.aspx
September 19, 2008 at 8:12 am
Jeff Moden (9/18/2008)
Ninja's_RGR'us (9/18/2008)
Yes you need to create it first, including column definitions.
Heh... not exactly true...
SELECT *
INTO #MyHead
FROM OPENROWSET('SQLOLEDB','Server=(local);Trusted_Connection=Yes;Database=Master',
...
September 19, 2008 at 8:06 am
shriya (9/18/2008)
How do i insert O'Brien in Name field of Table
Also read this
http://sqlblogcasts.com/blogs/madhivanan/archive/2008/02/19/understanding-single-quotes.aspx
September 19, 2008 at 8:05 am
gunapandian.mca07 (9/18/2008)
eg: in a field, gunapandian is a name, if i give "gun" it should give the row id.
those...
September 19, 2008 at 8:02 am
Nuts (9/18/2008)
I have a column with the figures which have 4 decimal points.
I want to trim them to two decimal points.
How do I do it??
Can it be done...
September 19, 2008 at 7:59 am
avani104 (9/19/2008)
FieldValueID-nvarchar(50) [since it can hv comma separated values 1,2]
ID - int
Select CountryName from EYARDMasterCountry where ID in (FieldValueID)
but this give an error...how do i read...
September 19, 2008 at 7:57 am
I am not sure if this works
where ActualTime >0
September 19, 2008 at 7:55 am
The proper way would be
group by dateadd(day,datediff(Day,0,date_col),0)
September 19, 2008 at 7:50 am
Also refer http://sqlblogcasts.com/blogs/madhivanan/archive/2007/12/21/count-number-of-words-in-a-string.aspx
September 19, 2008 at 7:41 am
May be the old thread but I want to show you other approaches
http://sqlblogcasts.com/blogs/madhivanan/archive/2007/08/27/find-nth-maximum-value.aspx
September 19, 2008 at 6:59 am
Viewing 15 posts - 256 through 270 (of 314 total)