Viewing 15 posts - 8,266 through 8,280 (of 14,953 total)
dipti9patel (10/1/2009)
Can anyone tell me CTE uses temp db or memory to hold the data for next statement?
Yes, they do.
They're just like table variables and temp tables and derived tables....
October 1, 2009 at 9:20 am
kramaswamy (9/25/2009)
with cte as
(
select * from table1
)
select * from cte
where field1 = value1
and
select *...
October 1, 2009 at 9:18 am
Can't say that I use them every single day, but I do use them quite frequently.
October 1, 2009 at 8:55 am
Shrinking the file by small increments is usually the best way to handle the immediate problem.
I have a monitoring script that checks how much space a database has in it,...
October 1, 2009 at 8:38 am
I'm firmly in the "incremental improvements" camp. Build something that does something useful for the users. Then add to it incrementally and constantly review for potential improvements. ...
October 1, 2009 at 7:58 am
ddunn-1115368 (10/1/2009)
October 1, 2009 at 7:51 am
A heap table is simply a table without a clustered index. May or may not have a primary key defined, the lack of a clustered index is the defining...
October 1, 2009 at 7:47 am
If you're inserting from a dataset, you can also join to a temp table that has a column with a newid default constraint, and get all of them at the...
October 1, 2009 at 7:44 am
Jeff Moden (9/30/2009)
Mark-459099 (9/25/2009)
for example
if...
October 1, 2009 at 7:36 am
When I've done this before, I've kept the dates in the promotions table. I called it a "PricingScheme" table, since it included other things that just special promotions, but...
October 1, 2009 at 6:44 am
You can create a table with a clustered index but no primary key. You can create a table with a primary key but no clustered index. You can...
September 30, 2009 at 1:42 pm
I like that my tab indents don't go all wonky with the SQL one. Hadn't tried that option before, but noticed it on the bar and tried it a...
September 30, 2009 at 1:20 pm
Garadin (9/30/2009)
GSquared (9/30/2009)
For SQL 2000 (which is the forum you posted in, so I...
September 30, 2009 at 12:53 pm
Check out OpenRowset, the options for Bulk and Single_BLOB. That should allow you to import a file into a binary field.
I'd be more inclined to store the Word file...
September 30, 2009 at 12:23 pm
It would be trivially easy to do that in SQL 2005, with the Output clause that added.
For SQL 2000 (which is the forum you posted in, so I assume it's...
September 30, 2009 at 12:18 pm
Viewing 15 posts - 8,266 through 8,280 (of 14,953 total)