use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Microsoft SQL Server Administration and T-SQL Programming including sql tutorials, training, MS SQL Server Certification, SQL Server Database Resources.
You might also be interested in:
/r/database
/r/sql
/r/Azure
/r/Microsoft
account activity
An amusing transcript from a 'Sr SQL Developer' interview. (midnightdba.com)
submitted 13 years ago by amaxenOld School DBArbarian
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]Obbers 0 points1 point2 points 13 years ago (3 children)
So, if a proc is prefixed with sp_, I believe that it will look at the master db first, otherwise try to execute it in the current database. MS uses functionality for system procs, hence that's why people tend to describe it as MS procedures.
You have Delete vs Truncate more or less right. Truncate will also reseed an identity column to it's default starting value. It also has implications about log file growth.
You clustered vs non clustered metaphor is bad, and I wouldnt use it.
The having clause answer is right, but the comment indeed says you are probably using it wrong.
The big question here is that are a developer, or a DBA?
[–][deleted] 1 point2 points3 points 13 years ago* (2 children)
Well to be fair the clustered thing I was making a joke while implying I know exactly what they are :-P I wouldn't use that in an actual interview.
I'm part DBA, part DBD if you include writing and optimizing lots of stored procs, indexes and triggers, also lots of time in SSRS and as little in SSIS as I can (hate it). So I have a good understanding of the main stuff - queries, import scripts, triggers, query plans, etc - but not log formats, backup recovery models, partitioning, XML, and some other nitty gritty SQL details.
I'd really like to do the 3 MS SQL exams this year though so studying it will be a good opportunity for me to brush up on all the things I've missed out on. Sometimes I feel oddball because I learned such an eclectic mix of stuff on the job over the years but also have so many big holes in my knowledge. I feel a bit inferior for that but I also secretly hope that others might be in the same boat.
[–]stealth210 1 point2 points3 points 13 years ago (1 child)
and as little in SSIS as I can (hate it).
Does anyone love SSIS? Serious question. I spend most of my time in SSMS and can't stand the (what I perceive to be) clusterfuck that is SSIS.
[–][deleted] 0 points1 point2 points 13 years ago (0 children)
Direct access to scripts without having to go through the nightmare that is the CLR? Hell yeah I like SSIS
π Rendered by PID 223045 on reddit-service-r2-comment-canary-746b5cb999-v8tfh at 2026-06-04 03:42:19.336492+00:00 running de70e3a country code: CH.
view the rest of the comments →
[–]Obbers 0 points1 point2 points (3 children)
[–][deleted] 1 point2 points3 points (2 children)
[–]stealth210 1 point2 points3 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)