Viewing 15 posts - 3,091 through 3,105 (of 5,103 total)
Well if that is to be used in a stored procedure. I would
July 22, 2005 at 8:47 am
Adam,
the subject of Hierarchies on SQL Server is very extensive. It can be handled in many different ways an it will kind of too long to describe here. On SQL...
July 22, 2005 at 8:28 am
>>The query returns 100k IDs when I run it.<<
Well 100k down to the client sounds like a very bad idea. You may be running out of resources depending on the...
July 22, 2005 at 8:12 am
If you need that many characters I think it will be a lot Better to generate a template file and handle that outside of TSQL. ntext ,or any BLOB type for...
July 22, 2005 at 8:01 am
and indid = 0 just indicates is the heap which last page is located in the root field ![]()
July 21, 2005 at 3:35 pm
you have now become the official "knight in shining armour" of this site...
![]()
I don't mind telling the truth to anyone that deserve it but...
July 21, 2005 at 3:23 pm
Ah !!! that may be the case ( I am not good at guessing
)
Well without more info on how the generation is...
July 21, 2005 at 3:14 pm
as long as all your DML (data modifications) go through stored procedures it is safer to to write something like this:
create proc ins_schedule (@schedID int output, @classID int, @branchID int,...
July 21, 2005 at 3:11 pm
well, black eye ... sounds too painful ![]()
and if I have to guess I would say is the SAME person
July 21, 2005 at 2:51 pm
The effect is called Parameter sniffing ![]()
you may have had the same effect adding with recomplie at the procedure declaration
This happens a lot...
July 21, 2005 at 1:41 pm
OOPS!!
I didn't read the UPdate part!!! ![]()
If you need to "update" that value then there is no...
July 21, 2005 at 1:35 pm
OR use a calculated column:
create table tt
(id int identity(1,1) Primary Key,
columnX as 'abc' + cast(id as varchar(180))
)
insert into tt default values
insert into tt default values
insert into tt default values
insert...
July 21, 2005 at 1:26 pm
the double quotes are used also in place of identifyers like [] if you have a column with an special caracter in it or is a reserved word you use...
July 21, 2005 at 1:08 pm
Viewing 15 posts - 3,091 through 3,105 (of 5,103 total)