Viewing 15 posts - 8,296 through 8,310 (of 13,460 total)
there are a number of threads here on SSC on this basic issue; it has to do with running out of memory;
there's not a lot you can do other than...
December 13, 2010 at 8:03 am
this article from Microsoft is what i have saved to get the list via PowerShell: I had this saved in my snippets, and the code I saved is unchanged from...
December 13, 2010 at 5:42 am
there is a technique for using dateadd/datediff together to get the starting date/time for any given period..year,month,week, even hour.
here's an example, giving you the begin hour and that same hour...
December 13, 2010 at 5:32 am
i have this saved in my snippets;
it's from a real comprehensive thread here:
http://www.sqlservercentral.com/Forums/Topic340912-146-1.aspx
it's a stored procedure someone contributed to help set up a mysql linked server, along with...
December 11, 2010 at 12:29 pm
Malcolm Daughtree (12/10/2010)
December 11, 2010 at 6:57 am
vbradham (12/9/2010)
Leave the error checking aside, I...
December 10, 2010 at 1:42 pm
excel automation is tough sometimes.
i'm pretty sure the issue is the first time a user runs Excel, a dialog comes up asking for your initials. I think the initials are...
December 10, 2010 at 9:11 am
AFAIK, varchars under (8000) chars are handled the same; no performance difference when they are included with the rest of the data you are selecting...unless you are SEARCHING tha...
December 10, 2010 at 9:00 am
the default Express does not include SSMS; you need the "2008 with Advanced Services"
install that, and you'll have the "Express" version of SSMS; it doesn't allow you to open anything...
December 9, 2010 at 3:31 pm
it depends on what you mean.
access and rights to objects are tied to a login.
if you give me a login, i can use any application i want to...
December 9, 2010 at 1:52 pm
ramadesai108 (12/9/2010)
but that does not give me database name.
you forgot how the proc works! the question mark is substituted with the dbname!
db_name() function will keep returning master or whatever db...
December 9, 2010 at 1:41 pm
the OBJECT_NAME function has a second , optional parameter for the db_id for exactly this reason;
this works in 2005 and above;
sp_msforeachdb '
select
object_name(s.object_id,db_id(''?'')),
s.*, p.*
from ?.sys.sql_modules s
...
December 9, 2010 at 12:25 pm
As long as you are working with real date or datetime variables, SQL has a suite of built in functions to get the pieces you are after:
/*--results
MO ...
December 9, 2010 at 9:39 am
Megistal (12/9/2010)
can SSRS r2 calling a procedure like this?:
CREATE...
December 9, 2010 at 8:48 am
that's the database you want to connect to.
The name "Initial Catalog" implies that you can switch to other databases after the connection, and your SQL commands could use use 3...
December 9, 2010 at 8:05 am
Viewing 15 posts - 8,296 through 8,310 (of 13,460 total)