Viewing 15 posts - 5,806 through 5,820 (of 7,191 total)
We can't really help you without table and index DDL, sample data and the query for the report.
John
August 10, 2010 at 6:55 am
Brandie
Is this the first time that setting the rate to zero has been invoked? What happens if you set it to a decimal rather than an integer, like this?
...
August 10, 2010 at 6:13 am
Gail
The first ORDER BY in the original post matches the clustered index, albeit with the unnecessary addition of a second column.
I think you're right - a sort would be necessary....
August 10, 2010 at 4:47 am
I seem to remember that when I tried using an environment variable in a package configuration, I had to restart the computer before SSIS would pick it up.
John
August 10, 2010 at 4:28 am
Please can we see your stored procedure definition?
Thanks
John
August 10, 2010 at 3:50 am
Gail, reading between the lines, I think what the senior DBA is saying is that if you insert data that is already sorted in the order of the clustered index...
August 10, 2010 at 3:21 am
Jeff
Unfortunately I don't. One of my colleagues has written a sophisticated application for use in house. It collects data from servers about all sorts of stuff - file...
August 9, 2010 at 7:44 am
Ryan
But how do you want to limit it? First 30 characters? Last 30 characters? Remove all vowels? If you want the first 30 characters, use the...
August 9, 2010 at 7:30 am
Ryan
That all depends on your requirements. Here's one way (not tested):
...
LEFT(COALESCE(PROP.postcode + N'/','') + PROP.address ,30)
...
John
August 9, 2010 at 7:02 am
Bhuvnesh
What I meant is that you should use an ORDER BY when SELECTing, not when INSERTing. So instead of this:
-- INSERT data into destination table
insert into email_destination_bk
select ut_stub,acct_id...
August 9, 2010 at 6:52 am
Adiga (8/9/2010)
You can get that information by reading the Default Trace. Please refer this.
This method is only useful if the table was created recently enough for the default trace to...
August 9, 2010 at 6:43 am
Bhuvnesh
I'm not sure what you're asking, but in any case, why would you use an ORDER BY in a SELECT statement for an INSERT? This doesn't guarantee that the...
August 9, 2010 at 6:36 am
Bhuvnesh
If you specify the column to order by by name instead of ordinal position then you get your concatenation.
John
August 9, 2010 at 6:20 am
I think your only realistic option is to get on to the client PC and find out what it's running. I'd have thought that a developer might have some...
July 27, 2010 at 1:20 am
Sudeepta (7/26/2010)
You need to add the login for the SQL Server instance.
Only if you are happy for this user/PC/application to be connecting to your database. As Pradeep suggests, use...
July 26, 2010 at 7:36 am
Viewing 15 posts - 5,806 through 5,820 (of 7,191 total)