Viewing 15 posts - 31 through 45 (of 1,047 total)
You will need to use BCP with a format file. That way you can specify which columns are quoted and which are not. The format file has a way to...
September 26, 2013 at 7:32 am
Brandie Tarvin (9/26/2013)
September 26, 2013 at 7:08 am
the row size appears to have increased commensurate with the size of the three nullable columns you added so that sounds consistent. Do me a favor and run DBCC...
September 20, 2013 at 1:38 pm
well if you are getting 23 rows per page and you were getting 60, the reason has to be a combination of fill factor and adding more columns. Post...
September 20, 2013 at 12:22 pm
What was you fill factor for the clustered and non-clustered indexes?
September 20, 2013 at 11:31 am
Yeah, you need to determine:
1) how much memory is available on your server (or VM)
2) what other processes or programs are running on that server
3) max (and min) amount of...
September 13, 2013 at 8:26 am
We do month end processing all the time (banking). So what I usually do is this:
declare @LastMonth datetime
declare @thisMonth datetime
set @ThisMonth = convert(datetime,convert(char(6),getdate(),112) +'01')
set @LastMonth = dateadd(month,-1,@ThisMonth)
then all my data...
September 12, 2013 at 3:07 pm
Okay, now I understand what you mean. Well for one thing there could be a different query plan being used in the import wizard implementation because the query is running...
September 12, 2013 at 2:51 pm
September 12, 2013 at 2:02 pm
CptCrusty1 (9/12/2013)
I have a query that will utlimatley return several million records. The query itself is too much for the memory on the particular server it's on;
I'm not...
September 12, 2013 at 1:53 pm
I basically do the same thing except multiple times per day. I have a .net program that pulls the data via a stored procedure and builds the pipe delimited data...
September 11, 2013 at 1:24 pm
you could either use:
select top(0) * from TABLE
or you could use a where clause that would never return any rows:
select * from TABLE where 0 = 1
September 6, 2013 at 10:10 am
My bad... your count()'s should be sum()'s (I missed that the first time):
select coll,
sum(case when coll is not null and value is not null then...
September 4, 2013 at 8:35 am
it is actually pretty straightforward :
update table set varcharcol = ltrim(rtrim(varcharcol))
September 4, 2013 at 8:25 am
Try it like this:
select coll,
count(case when coll is not null and value is not null then 1 else 0 end) CntCol,
count(case when coll is not null...
September 4, 2013 at 8:22 am
Viewing 15 posts - 31 through 45 (of 1,047 total)