Viewing 15 posts - 301 through 315 (of 695 total)
Nope, not homework. I am a little old to be going to school. I like the ides that you gave for the design of the databases.
What I am wondering is...
January 14, 2011 at 12:09 pm
Thank You Gila
I found my mistake
So silly, I am totally embarrassed
Andrew SQLDBA
January 11, 2011 at 2:51 pm
I cannot add more than on data file that way.
Besides that, I try to not use the GUI
Andrew SQLDBA
January 11, 2011 at 1:50 pm
Thanks Everyone
I knew it was something really simple that I could not think of
Andrew SQLDBA
January 10, 2011 at 3:04 pm
I am so sorry Dave
Yes, your code worked perfect also.
Thanks to both of you
Andrew SQLDBA
January 4, 2011 at 3:39 pm
Thanks Lutz
That was it, worked perfectly. I did have to modify the length from 11 to 10.
Andrew SQLDBA
January 4, 2011 at 3:22 pm
Thanks Guys
That worked perfectly. I don't know why I did not think of using that. Maybe I am getting too old for this.
Andrew SQLDBA
December 30, 2010 at 10:10 am
Sweet, thank you
I will give that a try.
Andrew SQLDBA
November 16, 2010 at 8:26 am
Very nice, that is just what I was after.
Been one of those long days, my brain is about to drip out of my ears
Thanks alot
Andrew SQLDBA
November 4, 2010 at 4:21 pm
Thanks Anyway, but I will stick to using the ASCII function that comes with SQL.
You could have also used a tally table.
SQL Server is not a Cursor based database, It...
October 28, 2010 at 3:59 pm
The STUFF function was perfect. Did exactly what I was after.
Thanks
Andrew SQLDBA
October 28, 2010 at 1:52 pm
I am coming close, but there is something that I am missing. I will keep at it to see if I can figure it out.
Thanks for your help in pointing...
October 24, 2010 at 1:52 pm
Gail
What a great idea. Let me work on that to see if I can get it.
Thank you
Andrew SQLDBA
October 24, 2010 at 1:37 pm
This is what I used to get the value that I needed
DECLARE @ProductName varchar(50)
SET @ProductName = '10494B-XL-Large.jpg'
SELECT SUBSTRING(@ProductName, 1, CHARINDEX('-', @ProductName) -1)
And the result is
10494B
Andrew SQLDBA
October 24, 2010 at 1:20 pm
Viewing 15 posts - 301 through 315 (of 695 total)