Viewing 15 posts - 57,361 through 57,375 (of 59,049 total)
There's probably a dozen ways... here's a couple without UDF or Tally table...
declare @table table (ad_str1 varchar(50))
insert @table
select 'apple avenue w' union all
select 'melon road e' union all
select...
October 18, 2006 at 7:54 pm
Junkie,
Would you post the query that creates the example output that you posted? I think that's probably the key, here.
October 18, 2006 at 6:42 pm
Nicasio,
In order for the EXE to release it's grip, it must close connections, destroy the connections, AND successfully exit the command processor window you've invoked. When you run it as...
October 18, 2006 at 6:35 pm
What ever you make with a permanent table, should also work with a temp table except FK constraints. ![]()
October 18, 2006 at 6:05 pm
Actually, Martin gave you the previous answer... but thank you, anyway.
I've not had the time to "play" with it, but you are missing a column alias in your stored procedure which...
October 18, 2006 at 12:35 am
Absolutely outstanding article, Sushila... Your fine article should be the one that is required reading, not only for the "newbies", but for many of us old hacks as a reminder...
October 17, 2006 at 11:01 pm
Long term transactions will cause huge wait periods and, possibly, deadlocks. I like Sreejith's method and have used it before... we used a column called "IsDirty" and it contained the...
October 16, 2006 at 8:38 pm
| I am running a stored procedure that uses a cursor (I know, I know, I couldn't find a... |
October 16, 2006 at 8:25 pm
The way you have it written, you are trying to insert into a temp table and variables at the same time. If you want to do both, you will need...
October 16, 2006 at 8:21 pm
Be aware that when you change a diagram and save it, it actually updates your database to match... diagrams are really a form of somewhat anorexic data models.
October 16, 2006 at 8:16 pm
Another possibility would be to use a "Linked Server" which would also hide the login and password from prying eyes.
October 16, 2006 at 8:14 pm
That's a good start... got any data we can play with and, like I asked, are the tests stored in the same table as the quizzes? If so, what marks...
October 16, 2006 at 4:54 pm
Where is the Test info stored? In the QuizLog?
Sidebar... does you table actually have columns with spaces in the names
?
I think it...
October 16, 2006 at 6:56 am
It sounds like the classic "make change" problem that used to be taught in many programming classes... I'm on my way to work right now but I think a function...
October 16, 2006 at 6:49 am
Perfect case of too many cooks spoiling the broth
Thanks for the feed back on what you found, Ville... definitely something to keep...
October 16, 2006 at 6:42 am
Viewing 15 posts - 57,361 through 57,375 (of 59,049 total)