Viewing 15 posts - 5,806 through 5,820 (of 7,187 total)
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
Client xx.xx.xx.xx is still trying to connect to your server, even though you've deleted the login it's trying to use. Find out what application is running on that client...
July 26, 2010 at 6:57 am
Raghavender
Please will you describe what you're trying to do? It looks as if you want to display the server name and instance name without the separating backslash. To...
July 26, 2010 at 5:23 am
I'm finding this difficult to visualise. Please will you provide table DDL, sample data and what you have tried so far so that we can picture it more easily.
Thanks
John
July 19, 2010 at 2:07 am
I would say so, yes, otherwise you will need to change your code every time your exclusion list changes.
John
July 2, 2010 at 7:56 am
Viewing 15 posts - 5,806 through 5,820 (of 7,187 total)