Viewing 15 posts - 421 through 435 (of 851 total)
[font="Verdana"]You may be able to move some of the common code into their own stored procedures or functions.
Failing that, have you considered using code templates?
[/font]
March 18, 2009 at 5:15 pm
[font="Verdana"]Hmmm, does appear to be a bug with my code.
I changed this section:
BreakDown as (
select CommentNumber,
...
March 18, 2009 at 5:06 pm
[font="Verdana"]I'm sorry, but aren't you employed to write the code? Why are you asking us to write the code for you? If you write it and get stuck,...
March 18, 2009 at 5:00 pm
[font="Verdana"]Ah, anger management...
As a suggestion, go buy a collection of soft, squishy balls. Not only can you play with them as stress relievers, but you can also throw them...
March 18, 2009 at 3:13 pm
[font="Verdana"]By the way folks... total awe in the time and effort you have all taken in answering that thread. Just amazing. Well done.[/font]
March 18, 2009 at 1:45 pm
Bob Hovious (3/18/2009)
March 18, 2009 at 1:43 pm
jap2bag (3/18/2009)
THe only problem i see with this is how can i loop through the results.
[font="Verdana"]It's not too hard, and you can use a similar idea with GSquared's approach too.
declare...
March 18, 2009 at 1:28 pm
[font="Verdana"]Hey Flo 😀
Yup. Sometimes the existing processes make it impossible to move to something like gateway procedures, hence why I said "failing that, use triggers." Some sort of...
March 17, 2009 at 6:45 pm
[font="Verdana"]You can generally use object-level security to ensure that the only the stored procedure has rights to write to the table.[/font]
March 17, 2009 at 5:45 pm
[font="Verdana"]Not quite sure why sequence numbers "need to be looped"...? With the right design (or often even with the right query overlaying a poor design), you can allocate sequence...
March 17, 2009 at 5:43 pm
[font="Verdana"]Don't need a cursor for that. Look up the row_number() function in SQL Server Books Online.[/font]
March 17, 2009 at 4:56 pm
[font="Verdana"]The only conversion in common across both SQL Server and Oracle is CAST(). That doesn't give you any formatting control. So unless the date format is set the...
March 17, 2009 at 4:51 pm
[font="Verdana"]The best way is to use gateway stored procedures to handle your inserts and updates. So they can insert and update into the various tables as necessary.
Failing that, use...
March 17, 2009 at 4:50 pm
[font="Verdana"]Okay, here's what I came up with. I'll wait with baited breath to be told off for using a recursive CTE. 😀
declare @String varchar(max);
declare @MaxLength tinyint;
set @String =...
March 17, 2009 at 4:29 pm
[font="Verdana"]So what's the make-up of the data in your string? Are words only ever separated by space, or do you want to break on hyphens and control characters as...
March 17, 2009 at 4:12 pm
Viewing 15 posts - 421 through 435 (of 851 total)