Viewing 15 posts - 3,961 through 3,975 (of 5,504 total)
Slightly off-topic:
Anybody interested in helping me out here?
I'm starting (already started?) to leave my comfort-zone and don't want to misguide the OP...
March 16, 2010 at 4:36 pm
Please have a look at the CrossTab article referenced in my signature.
If the number of uniqueNum columns is unknown, you might want to have a look into the DynamicCrossTab article...
March 16, 2010 at 4:30 pm
What type of guidance do you ask for?
The kind of "Follow that path over there until you reach a crossroad at the hill. Then take a left because if you'd...
March 16, 2010 at 4:24 pm
The following code worked as bad as a [c u r s o r] is supposed to but at least it gave the expected result (had to change it to...
March 16, 2010 at 4:09 pm
You need to assign to @Tablename instead of @x in your first fetch statement.
Also, just use "set @x ='select..."
instead of "set @x =@x+'select..."
March 16, 2010 at 3:43 pm
The Dixie Flatline (3/16/2010)
Hey Lutz 🙂 I beat you to the punch for once !! 😀
You probably benefit from the time zone difference / foreigner issues...
March 16, 2010 at 3:34 pm
If you want it to retry the step you have to define the status "failed".
That can either be done within your sproc uspMortgageData or you define an raiserror() statement as...
March 16, 2010 at 3:30 pm
One more side effect of the "bouncing method": sometimes it's done row by row (get one row from the source table and insert it into the target table). That would...
March 16, 2010 at 3:12 pm
Why do you need to run a cursor for what you're trying to do?
Wouldn't it be easier to do it set based? As a start something like
SELECT empid,
SUM(CASE...
March 16, 2010 at 3:07 pm
Another subject you need to focus on is how you handle date formates both within your tables (e.g. stored as character... :pinch:), and within all queries/stored procedures.
If you provide any...
March 16, 2010 at 2:43 pm
Please explain a little more detailed what you're trying to do. Especially in terms of the stored procedure.
It might be the case you're trying to do a row-based approach where...
March 16, 2010 at 2:32 pm
It seems like you're trying to do an existence check and run the proc based on the result. If so, the following code should work.
Note: it checks if there is...
March 16, 2010 at 2:28 pm
I'd say there is a mismatch between the table size you're using and the size you allow tempdb to grow to. You'd fill one of those tempdb files completely if...
March 16, 2010 at 1:36 pm
Step 1:
use a split string fuction to separate your comm separated list (for a sample function please see the tally table link in my signature).
Step 2:
Either use PIVOT or a...
March 16, 2010 at 1:22 pm
Did you try to google for a solution?
I just tried "sql server sms" as key words and found several solutions.
One is
http://www.siccolo.com/Articles/SQLScripts/how-to-create-trigger-to-sms-email.html
But there are a lot more....
March 16, 2010 at 1:15 pm
Viewing 15 posts - 3,961 through 3,975 (of 5,504 total)