Viewing 15 posts - 9,286 through 9,300 (of 9,399 total)
First create a temp table to receive the data from your DBCC command. I used #table_name below.
Then fire something similar to the following to populate it.
EXECUTE sp_msforeachdb N'USE ?;
INSERT...
April 18, 2013 at 7:49 am
chris.mcgowan (4/18/2013)
April 18, 2013 at 7:43 am
I think that's a good policy...don't ever publish real data. There are privacy, PII, HIPPA, etc. concerns that should never be overlooked unless you want a sudden change in...
March 26, 2013 at 5:34 am
For #1 and #3, try Jeff Moden's string splitter. http://www.sqlservercentral.com/articles/Tally+Table/72993/
For #2, Sean Lange posted this great approach earlier today for a similar request:
with EconSearch(SomeValue) as
(
select 'D.01.01.01' union all
select 'D.01.01.02'...
March 22, 2013 at 12:32 pm
Thanks for the feedback. Glad it helped.
March 22, 2013 at 12:22 pm
Here's an example of a couple columns in a GridView that include HTML. There's one with a
tag that links an <img> tag and a column with a...
March 22, 2013 at 10:56 am
Trying to put the presentation in the application instead of in SQL is the best approach. You're never going to get everything all nicely lined up in .NET GridView...
March 22, 2013 at 10:18 am
I agree with Grant - you should see the SELECT with the function take longer, since it has to run over all the rows. I wonder if ClientNr is...
March 22, 2013 at 9:30 am
That's quite a block of code. I thought of the database objects, but searching every column got my head spinning with how long it would take. I don't...
March 22, 2013 at 9:24 am
I think that the error 112 is when you run out of disk space. Are the databases that failed too large to fit on your K: drive? I...
March 22, 2013 at 8:38 am
I must admit that the largest file I've done is a 261 MB text file what was delimited AND fixed-width. Yes...delimited and fixed-width in the same file. :w00t:
The way...
March 20, 2013 at 6:04 am
Am I mis-reading the data or have you got duplicates in there? Maybe ID does not relate to PersonId
To an outsider it could be confusing
Stuart is right. To an...
March 20, 2013 at 5:48 am
I'd like to echo Lowell's preference for NULLs in foreign keys instead of a zero. Of course, this means that you're going to have to outer join the tables...
March 20, 2013 at 5:40 am
Well done. When I receive data from external sources, I find it to be less than spectacular quality. Fields that are supposed to contain dates contain strings, numeric...
March 20, 2013 at 5:28 am
Have you tried importing into an "inbox" or "incoming data" table that the Import Wizard creates itself? I just did this recently to get data into a table and...
March 18, 2013 at 1:45 pm
Viewing 15 posts - 9,286 through 9,300 (of 9,399 total)