Viewing 15 posts - 16 through 30 (of 54 total)
Not enough info. We don't know how #emp_temp is formed, it structure or where @col_name and @orderby come from.
I take it @orderby is Desc or ASC, and @col_name is...
June 17, 2004 at 9:31 am
Interesting method, it shows the ids and then how many are missing after it. So it doesn't list every one just how many are missing after id 2 and such:...
June 17, 2004 at 9:25 am
Itzik Ben-Gan wrote the best series of articles for this in SQL Magazine
http://www.sqlmag.com. They were great.
June 17, 2004 at 8:54 am
This will do it one statement using a function. Assuming the following table:
Create Table Testit (
Case_No char(10),
Case_Line_No int,
[No] int,
Remarks char(20))
go
Insert into Testit(Case_No, Case_Line_No, [No], Remarks)
values('1000003', 10000,...
June 17, 2004 at 8:40 am
Its all varchar, so why don't you just run the select but put len around everything and see what is larger than the field size. Truncate error means the data...
June 17, 2004 at 8:13 am
hoo-t i have to level with you, I was amazed at how simple I could make it. It was all those math courses in college I think.
June 9, 2004 at 11:37 am
It sounds data related. I just want to see what data types we are talking about in key indexes...
June 9, 2004 at 11:31 am
Could you post the create statement for the table and index?
June 9, 2004 at 11:24 am
To find out what is going on, go into Table Design, make the change then script the changes. There is a little scroll button at the top of this screen...
June 9, 2004 at 11:21 am
Space can be confusing sometimes that for sure.
But you need to take into account that your database is set to grow. The default to grow by 10% to an...
June 9, 2004 at 9:46 am
Make sure fields you filter are indexed and then
Books on Line, Configuring Linked Servers:
"Indexed Access
SQL Server can use execution strategies that involve using the indexes of the Index...
June 9, 2004 at 9:08 am
Error 169 is A column has been specified more than once in the order by list. Columns in the order by list must be unique. Which is odd. Usually you...
June 9, 2004 at 8:57 am
Just use replace and get rid of ~:
Table1 inner join Table2
on Replace(Table1.userid, '~', '') = Table2.userid
June 8, 2004 at 2:05 pm
Viewing 15 posts - 16 through 30 (of 54 total)