Viewing 15 posts - 5,281 through 5,295 (of 6,036 total)
Was it like this
/* comment
/* machine comment*/
*/
?
July 5, 2006 at 7:58 pm
If that's a case I would suggest to get familiar with the syntax of the programming language before trying to use it.
BTW, it's not about only TSQL, it's about any...
July 5, 2006 at 4:55 pm
I'm puzzled as well.
What's wrong with your resultset from Lookup_tbl?
What did you expect?
July 5, 2006 at 4:45 pm
IF inside of SQL statement?
Or it's just dynamic WHERE clause?
Should we open permanrnt classes how to avoid dynamic WHERE clauses or how to work it out when it's unavoidable?
July 5, 2006 at 4:41 pm
And if there is a transaction you may deadlock it forever.
I would suggest to get rid of the cursor and get it finished before progress bar can appear.
July 5, 2006 at 4:16 pm
Can anybody explain what's a point of dynamic SQL here?
July 5, 2006 at 3:50 pm
I would not think somebody could come to an idea to create the latest version of SP if it does not exist and leave whatever thing was written I don't...
July 4, 2006 at 4:56 pm
My "dynamic" does not have any quotes.
It always as simple as 'CREATE PROCEDURE xxx as select 1 as One'
Than the real scrpt goes, but it's included into ALTER statement....
July 4, 2006 at 4:16 pm
if not exists (select * from dbo.sysobjects where id = object_id(N'xxx') and OBJECTPROPERTY(id, N'IsProcedure') = 1)
EXEC ('CREATE PROCEDURE xxx as select 1 as One')
GO
Alter PROCEDURE XXX
AS
...
July 3, 2006 at 9:45 pm
What datatype you plan to use for columns in rotated table?
July 3, 2006 at 3:58 pm
Do you call SP from BizTalk?
June 30, 2006 at 10:52 pm
I have restriction in my current project - no more than 2 sec. respond for summary query on 2 mil. rows.
Currently I keep it within 0.5 sec.
Just for you to...
June 30, 2006 at 10:49 pm
Author swore he has read only access...
If he cannot create table he cannot create function as well. ![]()
June 30, 2006 at 10:45 pm
Run this:
SELECT Id, count(*)
FROM report_layout
GROUP BY Id
HAVING COUNT(*) > 1
It will show you how bad is you situation with duplicate key.
June 29, 2006 at 6:08 pm
Viewing 15 posts - 5,281 through 5,295 (of 6,036 total)