Viewing 15 posts - 2,011 through 2,025 (of 14,953 total)
herladygeekedness (2/14/2012)
States have many cities, cities can have one or many zip codes but a zip...
February 15, 2012 at 8:09 am
herladygeekedness (2/14/2012)
Ideally, getting...
February 14, 2012 at 1:51 pm
I dug into login triggers a little bit (since I don't write those every day) to confirm a few things.
What you want to do is get the SPID from the...
February 14, 2012 at 12:38 pm
The spreadsheet will need to contain the parent object for each row. Cities will have to have states with them, and so on. No way around that.
Of course,...
February 14, 2012 at 12:19 pm
The problem looks like it's the Execute As.
The login trigger proc is running as AnonLogin. Thus ANY login calling that proc qualifies as being a SPID that should be...
February 14, 2012 at 12:17 pm
Execution plans can be in text format or XML format. Behind the scenes, there's going to be a binary format, but I don't think there's a way (or reason)...
February 14, 2012 at 12:09 pm
I'm not used to city, state, Zip tables being something that has to be imported repeatedly. That data doesn't change frequently.
But if I had to, I'd set up the...
February 14, 2012 at 11:59 am
Some SQL tools I've used:
DB Dev:
SQL Prompt
SQL Search
SQL Compare
SQL Data Compare
SQL Data Generator
SQL Dependency Tracker
SQL Doc
ApexSQL Edit
ApexSQL Version
ApexSQL Refactor
ApexSQL Complete
Team Foundation Server
Visual Source Safe
DB Admin:
Confio Ignite
SQL Monitor
SQL Backup Pro
SQL Multi...
February 14, 2012 at 11:54 am
The second one won't clear tempdb. You can only remove an empty file. If tempdb has empty files, you could do this to remove them, but you won't...
February 14, 2012 at 11:47 am
TheSQLGuru (2/13/2012)
But that "trade" is GENERIC, STANDARDs-based SQL. He does NOT know "SQL Server" and over the years has routinely given BAD...
February 14, 2012 at 6:25 am
Is there no clustered index on this table? How about a primary key?
Heaps often behave "strangely" compared to tables with clustered indexes. Lack of a primary key can...
February 14, 2012 at 6:18 am
kschwid (2/13/2012)
Any stored procedures that I write I add that in, regardless of how long something takes to...
February 13, 2012 at 12:55 pm
On the original question, Select takes a "shared lock", meaning multiple Selects can run on the same rows at the same time and won't block each other. No need...
February 13, 2012 at 12:51 pm
SQL Kiwi (2/13/2012)
February 13, 2012 at 12:07 pm
cphite (2/13/2012)
February 13, 2012 at 11:51 am
Viewing 15 posts - 2,011 through 2,025 (of 14,953 total)