Viewing 15 posts - 16,711 through 16,725 (of 39,831 total)
TravisDBA (2/23/2011)
February 24, 2011 at 10:08 am
joe in the falls (2/24/2011)
The biggest road block to telecommutting are Managers/Boss'.
Very true. So work on educating them and helping them to be better managers. Give them reasons to trust...
February 24, 2011 at 10:05 am
You can right click the database, then select Tasks, then Shrink, then files. Shrink just the log file.
Look at the largest log backup you have, add a 10-20% pad, and...
February 24, 2011 at 9:21 am
I would look to tune to batch instead of worrying about the a temp table v table variable. They can both spill into tempdb, depending on size.
I might look to...
February 23, 2011 at 3:24 pm
How big is the database?
You could backup/restore every night. I know people that do that. However if you have lots of non-changing data, then it might be easier to do...
February 23, 2011 at 12:45 pm
GSquared (2/22/2011)
February 23, 2011 at 11:39 am
Not yet, I'll see if I can determine where this is on our list and when it might get changed.
February 23, 2011 at 11:36 am
It's not the restore method, it's the recovery model. Run this:
SELECT DATABASEPROPERTYEX('db1', 'recovery')
If it's simple, then just
Backup database mydb to disk = 'c:\mybackup.bak' with INIT
Replace mydb with your database name,...
February 22, 2011 at 10:18 pm
You might read this to better understand. I believe this is the stripe alignment of each particular drive as seen by Windows. So potentially the array is not aligned as...
February 22, 2011 at 12:03 pm
On a similar debating note, does anyone know of code in SQL Server that's worth protecting with CLR, obfuscation, or any hassles of encrypting? Not data, but code?
February 22, 2011 at 12:02 pm
I'm not saying you're wrong. But in two decades of working with all sorts of companies, almost nothing I've seen is worth protecting on the database side. Accounting software, imaging...
February 22, 2011 at 12:01 pm
I would argue that the database access code, queries, reports, etc. aren't done with a lot of research and development. The techniques for querying data aren't that hard to learn,...
February 22, 2011 at 10:40 am
I've reworded the answers to eliminate confusion and awarded back points to everyone up to this time.
February 22, 2011 at 10:28 am
You can modify the WHERE clause to avoid those rows that have the item already. So something like this:
update MyTable
set MyChar = '1' + MyChar
WHERE SUBSTRING(...
February 22, 2011 at 9:11 am
This can be helpful (developer read in production), but it also produces another attack vector for security. Developers being able to pull that data out, means potential breaches, especially if...
February 22, 2011 at 9:08 am
Viewing 15 posts - 16,711 through 16,725 (of 39,831 total)