Viewing 15 posts - 11,416 through 11,430 (of 13,460 total)
Krishna (3/16/2009)
Do not put Autoupdate stats ON, it does affect your database performance. I would prefer running a job to update statistics now and then after analyzing the data.
AFAIK, disabling...
Lowell
March 17, 2009 at 12:09 pm
i just slapped this together.
i'm using sp_revokeaccess instead of sp_dropuser, because the users might be orphaned and not tied to a login;
this yanks them out the way i expected:
[font="Courier New"]ALTER...
Lowell
March 16, 2009 at 11:42 am
when i think "database", i think SQL server, so that multiple connections can get to a source of data and select/insert/update.
i think of a flat file as a snapshot ofdata...
Lowell
March 16, 2009 at 11:00 am
in .NET, your Datasource has the ability to .WriteXML(pathToFile) and .ReadXML(pathToFile), so it's very easy to load tables into your dataset form say, SQL server, and then write them to...
Lowell
March 16, 2009 at 10:20 am
the virtual table INSERTED, which exists only for the duration of the trigger, has all the records that were updated.
if you show us your current trigger in SQL, we can...
Lowell
March 16, 2009 at 7:33 am
a cursor is like the add + function, where set based is like multiplication.
Using addition as
yeah you can do 2+2+2+2+2+2+2+2 = 16, because that's what you are used to,...
Lowell
March 13, 2009 at 3:13 pm
the only things you identified so far is a slight shortening of a couple of keywords....saving a handful of keystrokes doesn't mean that's an improvement, just a preference.
Lowell
March 13, 2009 at 2:36 pm
same thing, different way:
[font="Courier New"]UPDATE mytable
SET myfield= '************' + RIGHT(myfield,4)
WHERE LEN(myfield) = 16 --only change items that are exactly 16 chars
SELECT * FROM mytable WHERE LEN(myfield) <> 16 [[/font]
...
Lowell
March 13, 2009 at 11:57 am
do not spam the same question into multiple forums. it was's everyones time and disjoints all the answers.
everyone uses the "View Latest Posts", so you need to post this only...
Lowell
March 13, 2009 at 11:09 am
do not spam the same question into multiple forums. it was's everyones time and disjoints all the answers.
everyone uses the "View Latest Posts", so you need to post this only...
Lowell
March 13, 2009 at 11:08 am
do not spam the same question into multiple forums. it was's everyones time and disjoints all the answers.
everyone uses the "View Latest Posts", so you need to post this only...
Lowell
March 13, 2009 at 11:07 am
do not spam the same question into multiple forums. it was's everyones time and disjoints all the answers.
everyone uses the "View Latest Posts", so you need to post this only...
Lowell
March 13, 2009 at 11:07 am
I've done something similar, but made sure it was an application that happens to conenct to SQL server, not do it via SQL server itself.
.NET DataSource object has the ability...
Lowell
March 13, 2009 at 8:23 am
eashoori (3/13/2009)
thanks a lot for...
Lowell
March 13, 2009 at 7:37 am
if the stored procedure returns 10 columns, you'll have to have a temp table that catches all ten columns...after that, you could ignore the other columns and continue from...
Lowell
March 12, 2009 at 9:15 pm
Viewing 15 posts - 11,416 through 11,430 (of 13,460 total)