Viewing 15 posts - 76 through 90 (of 123 total)
Why not just exclude those fields from the temp table? Do you really need them?
Mark
September 10, 2012 at 5:23 pm
September 10, 2012 at 5:21 pm
Happens to me all the time at work but we're trying to utilize the project management group as part of our regular process. The business knows they must supply...
September 8, 2012 at 12:50 pm
I'm a huge fan of the book SQL Server 2008 Bible. Look in to that one if you'd like to learn more about programming in SQL Server.
Someone else mentioned...
September 5, 2012 at 4:10 pm
If you need this added to a query where you don't always know the value, try this:
select replace(YourColumnNameHere, '.00', '0.00')
This worked when I tested it using this code:
with cteTable(TextString)
as
(
select 'Qty:...
September 4, 2012 at 6:25 am
As Jeff poinged out you have a typo unless you were typing from memory and that's not how it is in your query. If that's the case, please let...
September 3, 2012 at 6:51 pm
+1 for the normalized approach. It may be 2 players today but it likely to be expanded upon at some point and you can have that addressed in your...
September 3, 2012 at 6:48 pm
The rollback after the error trapping is the issue. It's rolling back your error record. Move it before that insert.
RBarryYoung's code works although there's an extra "begin catch"...
August 31, 2012 at 5:40 am
There's no need to do that when SQL server can manage the ID itself like stated in the post above.
If you have permission to alter the table, add a new...
August 30, 2012 at 4:19 pm
Thanks to everyone for your input. I really appreciate the feedback.
Taking all this in, I decided to contact the person sending the post and politely asked them for the...
August 28, 2012 at 6:10 pm
Great feedback. Thanks guys.
Mark
August 24, 2012 at 2:55 pm
Steve Jones - SSC Editor (8/22/2012)
Mark Eckeard (8/21/2012)
August 22, 2012 at 8:41 am
I bought my wife the new iPad and the display is nothing short of amazing and it's very responsive but you'd think at that price apple would include something as...
August 21, 2012 at 4:08 pm
You can get by storing the data once and removing the formatting for reporting purposes if needed.
I used this free tool to build a wysiwyg kind of editor within a...
August 21, 2012 at 9:19 am
.NET has the ability to capture and pass the HTML to a sproc and you can store it as varchar(max) like you said. I did this on a few...
August 21, 2012 at 5:28 am
Viewing 15 posts - 76 through 90 (of 123 total)