Viewing 15 posts - 91 through 105 (of 654 total)
dlgross
i had a case similar to yours once. and i used dynamic sql
August 14, 2007 at 9:05 am
chane your datatype for the @sql to nvarchar
sp_executesql works with unicode characters
you really must stay away from this dynamic sql if possible
August 14, 2007 at 8:27 am
osql -L
you can pipe the output to a text file
osql -L > c:\sqlservers.txt
you can also use SMO objects with .net and do some fancy stuff there
August 14, 2007 at 8:15 am
you also need to enclose your values in another pair of quotes
''Building''
August 14, 2007 at 7:38 am
you are using dynamic sql hence you need to enclose your zero with another set of quotes since you want to concatenate and not add it to the left most...
August 14, 2007 at 7:35 am
the semi colon is a way to separate different sql statements, but it does not make a difference in sql server. maybe they will enforce it in years to come.
August 14, 2007 at 7:31 am
DECLARE
@Q1 INT, @Q2 INT
--get the lower quartile
SELECT @Q1 = duration
August 13, 2007 at 1:52 pm
no , its not because you have to account for odd or even count
August 13, 2007 at 1:23 pm
Thomas,
there is something called taking the problem home.
good night
August 13, 2007 at 12:10 pm
i had this problem once. but i can't remember how i solved it. this has to do with the installer program and not sql server itself.
August 13, 2007 at 12:07 pm
maybe Stevo can use his M$ connections to get an explanation eh!
August 13, 2007 at 12:02 pm
proof of concept:
try this for the median and see if its giving you the correct median, replace with your own code where...
August 13, 2007 at 10:10 am
Viewing 15 posts - 91 through 105 (of 654 total)