Viewing 15 posts - 211 through 225 (of 362 total)
OK, rewriting your query, just so we can break apart some items...
is there the same performance diff. using the following query with/without firstname?
SELECT AL2and3.vch_shortname, AL2and3.i_event_id, AL1.i_users_id, AL1.vch_lastname, AL1.vch_firstname...
January 8, 2004 at 11:50 am
FROM dbo.users AL1
JOIN dbo.event_user AL4 ON AL4.i_users_id = AL1.i_users_id
JOIN dbo.event AL3 ON AL3.i_event_id = AL4.i_event_id
JOIN dbo.course AL2 ON AL2.vch_course_id = AL3.vch_course_id ...
January 8, 2004 at 11:07 am
Yeh Noel, I hear ya. Just wanted to maybe give you some "ammo" or thoughts that might help.
Is the statement hard coded into...
January 8, 2004 at 9:31 am
Are you talking about when the identity value reaches the max value of the data type?
or will SQL functions like @@IDENTITY, IDENT_CURRENT() or SCOPE_IDENTITY( ) be of help.
January 8, 2004 at 8:43 am
2 WEEKS VACATION all at one time! Must be nice
January 8, 2004 at 8:39 am
I've been following this thread... was thinking maybe some form of the following may be usable...
-- In T-SQL
Create Table TestTable (ID Int, TestF Bit)
-- Then change:
-- Insert...
January 8, 2004 at 8:33 am
Yeh, sorry, that's my own build in SP, does some intermediate logging work etc.
Glad the "jist" of the idea worked for you.
January 8, 2004 at 7:32 am
It only makes me work 2 extra hours each day, It must drive Frank nuts , He's putting in an extra 8 hrs of...
January 7, 2004 at 2:38 pm
In regards to
SELECT @type EXEC(@cmd) actually worked! The print @type statement printed P but the tests did not work.
January 7, 2004 at 9:07 am
If you have a link server entry, you can try something like...
LinkedServer.Master.dbo.sp_ExecuteSQL N'Exec SyJobExecute_sp ''JobName'', 0'
January 7, 2004 at 9:01 am
On SQL Server Centrals home page.
Todays is "Indexing Strategies". I guess they call them "Headlines", my bad
January 7, 2004 at 8:34 am
I definitly happens when going to the page pointed to by the emailed "Reply Notifications" & "Active Posts" page.
January 7, 2004 at 8:13 am
The following line in your code
SELECT @type EXEC(@cmd)
is actually 2 commands, not 1 command that assigns a value to @type.
Try changing to something like ....
.....
--test input against type
SELECT...
January 7, 2004 at 7:59 am
See prior recent thread...
http://www.sqlservercentral.com/forums/shwmessage.aspx?forumid=8&messageid=93526#bm93703
I hope the address paste works ok, I used the new forum search with "sp_executesql" key word, and T-SQL as only section to search. Worked great...
January 7, 2004 at 7:52 am
Any update on the forum subscriptions yet?
January 7, 2004 at 7:41 am
Viewing 15 posts - 211 through 225 (of 362 total)