Viewing 15 posts - 136 through 150 (of 14,952 total)
The only solution is the same one for any lost password: Get it reset to something you know, and then copy that into the create script.
January 16, 2013 at 12:27 pm
paul.barbin (1/16/2013)
We began using it in our unit test scripts to...
January 16, 2013 at 11:47 am
I used to work for a financial services company that used SQL Server. Lots of high-volume data, etc., no problems with the databases/servers. But you don't want to...
January 16, 2013 at 11:38 am
PiMané (1/16/2013)
GSquared (1/16/2013)
January 16, 2013 at 10:35 am
Why multiple tables? Wouldn't it simplify things tremendously if you just partitioned the table itself?
January 16, 2013 at 10:33 am
But, really, that kind of formatting should be done in the presentation layer, not in a query. Should be formatted by the report/web page/application.
January 16, 2013 at 10:30 am
Maybe this?
DECLARE @amt VARCHAR(10) = '-5000';
SELECT CASE WHEN LEFT(@amt, 1) = '-' THEN '-'
ELSE ''
...
January 16, 2013 at 10:29 am
hakim.ali (1/16/2013)
January 16, 2013 at 10:24 am
Does this do what you basically need?
IF OBJECT_ID(N'tempdb..#picu') IS NOT NULL
DROP TABLE #picu;
CREATE TABLE #picu
(EpisodeId INT,
CriticalCareLocalIdentifier...
January 16, 2013 at 10:08 am
Patric, normally I'd treat private as private. You're the only person I've ever moved it public for. And it's only because I find your particular behavior so reprehensible...
January 16, 2013 at 9:55 am
From what I recal, it is expensive that way. Can cause SQL Server to page-out RAM to disk. It's been years since I used it, so I could...
January 16, 2013 at 9:37 am
You should be able to save yourself a significant amount of work by using the Import Wizard. Right-click the database in the object explorer in SSMS, pick Tasks ->...
January 16, 2013 at 9:36 am
I'm not entirely clear on the relationships between the two tables, but I can see that what you need to do is pivot the data before you convert it to...
January 16, 2013 at 9:32 am
When you say you're copy-pasting from CSV, do you mean you're opening a CSV file in Excel, copying the contents, then pasting directly into a table via "Edit top 200...
January 16, 2013 at 9:20 am
PiMané (1/16/2013)
GSquared (1/16/2013)
Personally, I use XQuery (nodes, et al) consistently. Haven't used OpenXML in years. Prefer XQuery for performance, ease-of-use, etc.
I use it also but in this example...
January 16, 2013 at 9:00 am
Viewing 15 posts - 136 through 150 (of 14,952 total)