Viewing 15 posts - 3,811 through 3,825 (of 13,469 total)
Thanks for the insight guys; I'm still hoping for some more suggestions.
My non profit wouldn't even spend the five dollars per mailing, but would love for me to invest hundreds...
March 28, 2013 at 6:09 am
the command you posted is from MYSQL;
SQL doesn't do file writing operations directly, you typically would use BCP OUT, or a CLR, or an application to write to disk when...
March 28, 2013 at 5:56 am
BrainDonor (3/28/2013)
Lynn Pettis (3/27/2013)
What to make of this?May not be what I was thinking. Good.
"I'm a DBA, it turns out"
How do you suddenly discover that you're a DBA?
it's like...
March 28, 2013 at 5:30 am
BIDS is a trimmed down version of VS2010 with the project templates related to Business Intelligence installed.
i have VS 2010 professional, and I have SQL 2008 standard installed on my...
March 27, 2013 at 1:54 pm
based on your example code, Lynn's post, barely modified for the column name, works perfectly:
declare @SQLCmd nvarchar(max);
select
@SQLCmd = stuff((select N'union select MFG from ' + TableName...
March 27, 2013 at 1:34 pm
my take on it, was to make a view from the data;
you'd need to update the view whenever new rows get added.
SELECT 'SELECT MFG FROM ' + ApplianceTypeTableName + '...
March 27, 2013 at 1:04 pm
Steven.Howes (3/27/2013)
Is this for the report server catalogs or the App DB?
Any and all databases which used to exist in any version of SQL, and was restored/upgraded to a higher...
March 27, 2013 at 12:44 pm
after an upgrade from a lower version to a higher version, it's pretty much mandatory to rebuild statistics with fullscan;
the update engine uses different statistics/uses them differently, and performance is...
March 27, 2013 at 12:37 pm
are you sure it's not an index rebuilding session that is making the tempdb grow? the frequency, of noticing once or twice a month sounds about right.
March 27, 2013 at 11:42 am
everyplace you have the column represented by @c must be replaced with a convert(nvarchar,@c); so if it's occurring 4 times in your expression, change all four...i think i missed the...
March 27, 2013 at 9:53 am
convert the column to nvarchar(max) instead.
SELECT SUBSTRING(
CONVERT(NVARCHAR(max),YourColumn),
CHARINDEX('>', @c) + 1,
LEN(@c) - CHARINDEX('>', CONVERT(NVARCHAR(max),YourColumn)) - CHARINDEX('<',...
March 27, 2013 at 9:43 am
change this to a larger number:
SUM(CONVERT(DECIMAL(11, 0), a.value)) AS total
something liek this:
SUM(CONVERT(DECIMAL(19, 4), a.value)) AS total
or
SUM(CONVERT(float, a.value)) AS total
does it work then?
you keep bumping into the limits of your...
March 27, 2013 at 9:22 am
OK i now see that SQLFiddle is for MySQL, not SQL Server;
i guess it is some kind of front end tester, where you can build a temporary schema in the...
March 27, 2013 at 9:18 am
no username or password.
here's some detailed instructions:
from the machine itself,
sqlservr -m"SQLCMD"
then when connected, add yourself or a new admin:
CREATE LOGIN [testAdmin] WITH PASSWORD=N'test@1234', DEFAULT_DATABASE=[master];
EXEC sys.sp_addsrvrolemember @loginame = N'testAdmin', @rolename =...
March 27, 2013 at 7:19 am
Viewing 15 posts - 3,811 through 3,825 (of 13,469 total)