Viewing 15 posts - 15,271 through 15,285 (of 15,376 total)
If your are diligent during the development process to script all the changes you can include a change rollup script as part of the install for the new version. The...
January 12, 2010 at 10:22 am
There are lots of people here that can help you. However you first need to help us help you. You need to post some table definitions, inserts for some temp...
January 12, 2010 at 10:06 am
This is a class I got from somewhere on the Internet. I modified a bit to suit my needs. If there are more rows than will fit in an excel...
January 12, 2010 at 7:37 am
Is this for a windows app or a web app? It makes a big difference because most people will not allow Office to be installed on a live webserver. The...
January 11, 2010 at 1:21 pm
24.
For example i just ran it with start = 19 and end =22
output was:
19:15, 19:30, 19:45, 20:00, 20:15, 20:30, 20:45, 21:00, 21:15, 21:30, 21:45, 22:00
Of course some conditional divide by...
October 28, 2009 at 3:06 pm
--EDIT--
My comment from 4 years ago was so wrong I removed it as to not be misleading. :blush:
October 28, 2009 at 10:46 am
This sounds a lot like a school project. Why in the world would you need something like this otherwise? That being what it is this was a fun challenge!!
Here is...
October 28, 2009 at 10:39 am
Good point. The real deal is that the datatype was implicity set to have 4 decimal places and the round function will not change the datatype. If you really wanted...
October 28, 2009 at 7:57 am
cengland0 (10/28/2009)
Don't they realize 3.6 and 3.6000 is the same value and it's more proper to delete the extra zeros?
Not sure I agree that it is more "proper". Depending on...
October 28, 2009 at 7:26 am
Not a really solid solution but you could alias your tables with a lot shorter name. For example, PERS_SVCMBR_TBL a
then your select would lose around 14-15 characters per line.
Not the...
September 30, 2009 at 10:35 am
I think you are wanting to elminate rows that only contain spaces?
simply add where [Field] ''
SQL treats multiple spaces in a field as an empty string. Alternately you could...
August 13, 2009 at 3:15 pm
You are going to need to use a sum() function to get the total. It is impossible to tell from your post what column you want to total. The basic...
August 7, 2009 at 3:11 pm
Since all the data is ultimately converted to string when exporting you should be to do something like this.
isnull(cast([YourFieldHere] as varchar(max)), '')
That way all your null values will just be...
August 5, 2009 at 7:56 am
try something like this:
select left(@a, 15 - charindex(' ', reverse(@a)))
July 9, 2009 at 12:23 pm
Viewing 15 posts - 15,271 through 15,285 (of 15,376 total)