Viewing 15 posts - 2,311 through 2,325 (of 3,489 total)
Not really. This assumes that nobody has a name like "Billy Joe" or a last name with spaces in it either... which is a gross simplification.
SELECT LEFT(FullName,CHARINDEX(' ',FullName)-1) AS...
September 7, 2015 at 3:14 pm
I am designing an application where multiple users can be assign to a product for review. If a user doesn't have access to the product, they are not allowed to...
September 6, 2015 at 11:32 pm
What did you try?
Did you try using CHARINDEX?
September 4, 2015 at 2:24 pm
Can you subclass the entities? Essentially, the "main" table has an autoincrement primary key, and the "child"/subclass tables just inherit that key from Main. There's a really simple...
September 3, 2015 at 2:30 pm
Are you trying to insert the entire PDF into a column in a table in your database? It's not entirely clear from your post.
September 2, 2015 at 5:44 pm
Interesting... Thanks Sean and Luis for the gentle "schooling". I'll have to add that to my SSC database (the stuff I brazenly steal from here... hey, gotta learn somehow!)
Maybe I...
September 2, 2015 at 12:39 pm
Nitin,
The short answer to your question is to use DelimitedSplit8K[/url] to split the text strings into different columns and then deal with those.
This was my first try splitting (just so...
September 1, 2015 at 11:42 pm
Glenn,
any chance you could provide a create table script and some dummy records? Are all the records in the same table?
thanks,
Pieter
August 31, 2015 at 4:42 pm
Oh, I understand now. You wanted to change the color of the individual values on the timeline/X-axis when the value is on a weekend. Don't know how to do...
August 31, 2015 at 2:46 am
" I can tell consistently when the parameter dropdown list will have values and when it will not have values."
how? psychic powers?
Could it be a timeout?
August 28, 2015 at 1:32 pm
Watch Kendra Little's video[/url]...
See #6. and the video that goes with it.
She and Brent Ozar know more about SQL Server than I probably ever will. And they know what they're...
August 27, 2015 at 5:10 pm
Exercise your Google-fu. Found a bunch of hits in less than a second.
sys.dm_os_volume_stats - see example A.
An example from SQLMag...
Sounds like you might need a report or something that...
August 27, 2015 at 12:45 pm
Olaf,
I got it to work, sort of. (Well, in my bar graph.)
I created a simple bar graph with (Date, Value), so the x-axis represents dates. If you right-click on a...
August 27, 2015 at 12:03 pm
Nice solution, but where did OrderDate go?
August 26, 2015 at 11:13 pm
I did the query in 2012 (Yes, I did read that you were using 2008... solution to follow) This was the SQL statement - super easy once Windowing functions...
August 26, 2015 at 7:04 pm
Viewing 15 posts - 2,311 through 2,325 (of 3,489 total)