Viewing 15 posts - 106 through 120 (of 171 total)
The error message "Msg 208, Level 16, State 1, Line 1
Invalid object name 'dbo.PriceGroup'." is pretty straight forward; it means that the parser is unable to parse the object name.
If...
Follow me on twitter @EvoDBACheck out my blog Natural Selection DBA[/url]
June 5, 2013 at 4:44 am
Can you check to see whether the "Nullable" check box is ticked for the columns in which the nulls are being replaced with 0s? I would have thought this...
Follow me on twitter @EvoDBACheck out my blog Natural Selection DBA[/url]
June 5, 2013 at 4:36 am
Ok, well, this may or may not work, but you could try changing the encoding in the content column with a replace statement (you may need to check that it's...
Follow me on twitter @EvoDBACheck out my blog Natural Selection DBA[/url]
June 5, 2013 at 4:05 am
Does the simple cast to xml in the subquery work as a standalone query? (Tried it on my test box and not having any issues).
Follow me on twitter @EvoDBACheck out my blog Natural Selection DBA[/url]
June 5, 2013 at 3:36 am
I think my point was more along the lines of that it depends on how you are populating the original xml (eg from a table, from an application etc), or...
Follow me on twitter @EvoDBACheck out my blog Natural Selection DBA[/url]
May 24, 2013 at 9:48 am
Why would you care if the subquery produces the desired result?
Follow me on twitter @EvoDBACheck out my blog Natural Selection DBA[/url]
May 24, 2013 at 7:46 am
With COALESCE you can specify multiple columns and it will return the first non-null value; with ISNULL you can only specify one and is also non standard.
In terms of performance,...
Follow me on twitter @EvoDBACheck out my blog Natural Selection DBA[/url]
May 24, 2013 at 7:40 am
I guess that depends how you're making the xml!
Follow me on twitter @EvoDBACheck out my blog Natural Selection DBA[/url]
May 24, 2013 at 6:16 am
Well it depends on exactly what you're trying to do. I would suggest creating a script for the schema of the table, but perhaps export the data to a...
Follow me on twitter @EvoDBACheck out my blog Natural Selection DBA[/url]
May 24, 2013 at 4:41 am
You can cast scientific values as a float; e.g. SELECT CAST('1.0002E7' AS float)
Or even more helpfully from the xml itself like such:
DECLARE @xml xml
SET @xml = '<Root>
<Row>
<Rowid>1</Rowid>
<date>2013-05-06</date>
<Balance>1.0002E7</Balance>
</Row>
</Root>'
SELECT @xml.value('/Root[1]/Row[1]/Balance[1]', 'float')
Follow me on twitter @EvoDBACheck out my blog Natural Selection DBA[/url]
May 24, 2013 at 4:25 am
And following which of the two suggestions? As I said, I haven't actually tried the power shell mail within the windows service myself yet.
If it's the job...
Follow me on twitter @EvoDBACheck out my blog Natural Selection DBA[/url]
May 24, 2013 at 3:26 am
What is the size of your script file?
Looks like you're having this problem:-
http://social.msdn.microsoft.com/Forums/en-US/sqltools/thread/51ef4b81-6677-4e2d-8b80-648633cf699e
Follow me on twitter @EvoDBACheck out my blog Natural Selection DBA[/url]
May 24, 2013 at 3:20 am
I haven't actually tried this myself yet, but it should probably sort you out:-
http://sqlish.com/alert-when-sql-server-agent-service-stops-or-fails/
From within SQL Server itself, I don't believe you can send a mail when the service stops;...
Follow me on twitter @EvoDBACheck out my blog Natural Selection DBA[/url]
May 24, 2013 at 2:35 am
You cannot grant, deny or revoke permissions on an object to the object owner and by default the owner receives the CONTROL permission on the schema which means that they...
Follow me on twitter @EvoDBACheck out my blog Natural Selection DBA[/url]
May 23, 2013 at 9:26 am
It may also be worth noting that public is a server role; in each database there is a guest account which you can deny CONNECT on the database if you...
Follow me on twitter @EvoDBACheck out my blog Natural Selection DBA[/url]
May 17, 2013 at 9:53 am
Viewing 15 posts - 106 through 120 (of 171 total)