Viewing 15 posts - 6,946 through 6,960 (of 7,472 total)
Put indexes on the FK-columns of your dependant tables (if multi-column, provide exact order and sorting !). (1 index per FK !)
If you have cascading deletes enabled, you can delete...
July 9, 2004 at 1:46 am
- 1) the sum of both "Min server memory" ( 5092 *2 ) > (8Gb - 1 Gb)
(the -1Gb is the space for the OS to run and manage the...
July 7, 2004 at 12:46 am
Multiprocessor box ? try adding with MAXDOP = 1 (ckeck BOL)
(there is an issue with count(*) with sql2ksp3a)
July 1, 2004 at 8:04 am
As always the straight way has some curves.
Indeed, ms-office / vbs / ... are often not taken into account when considering security.
IMO...
July 1, 2004 at 5:07 am
The advantage of using group-by is that it can use an index if available and suitable.
distinct is done by adding a sort-step before...
July 1, 2004 at 4:18 am
- Which sqlserver version is this being run on ?
- Can you post ddl with some data ?
- Can you post some (small) "correct" and "false" result sets ?
- Does...
July 1, 2004 at 12:15 am
take a look at :
http://www.sqlservercentral.com/forums/shwmessage.aspx?forumid=23&messageid=107508
"C:\Program Files\Microsoft SQL Server\MSSQL\Upgrade\scptxfr.exe" /s yourserver /d yourdatabase /I /F c:\yourfile
rem SCPTXFR /? - Command line help.
rem...
June 29, 2004 at 4:26 am
What's the goal of your function ?
- returning the "highest" membership ?
- returning the "last in sequence" membership ?
(your current function)
- returning the "first in sequence" membership ?
maybe...
June 29, 2004 at 1:49 am
is the xp_cmdshell still open ?
exec xp_cmdshell 'net stop sqlagent' might be your weak spot.
June 29, 2004 at 1:23 am
Like Derrick Leggett mentioned, figure it out !
If your investigation points the symantics are OK, then you might use a case statement .
declare @col1 ...
June 24, 2004 at 12:15 am
- do you have autoupdate-stats on (at db level) ? just run it once in a while.
We just run it once in a while (4 times a year) because autoupdatestats...
June 18, 2004 at 12:26 am
As you did find out, @@identity <> primary-key-info
afaik there is no way to have the "just inserted" primary key info returned, unless you write a query,... This however is...
June 17, 2004 at 12:04 am
I haven't used that combination yet.
We only use linked servers to non-sqlserver for problem solving. Only then the definitions are added and removed asap.
This is because we don't want...
June 16, 2004 at 12:13 am
Don't store concatenated stuff. It's not as adaptable as you might think.
Composite keys, don't have that huge downside.
If you want to have your newly inserted key returned by sqlserver...
June 15, 2004 at 11:54 pm
not through sqlserver itself.
stop sqlserver service .
delete the mdf/ldf file
now someone is in deep sh..
Restore ?
follow the rebuildmaster procedure (see bol or ms-website)
June 15, 2004 at 1:18 pm
Viewing 15 posts - 6,946 through 6,960 (of 7,472 total)