Viewing 15 posts - 1 through 15 (of 223 total)
Hi,
Thank you. Below one worked for me.
$QueryResults[0].Table.Columns.Count
Apologies. I tried to post but I was unable to post somehow. Once again Thankyou
July 25, 2014 at 11:35 am
It gives only the number of rows but what I want is number of columns
July 25, 2014 at 8:13 am
System.Object[]
July 25, 2014 at 8:02 am
I tried it already does not work
$QueryResults.Columns.Count
or
$QueryResults.Items.Count
is not working
July 25, 2014 at 5:02 am
Hi Prem,
From SQL 2005 and above versions there is no need for you to restart the SQL Services when you want to move...
June 13, 2011 at 2:52 pm
Hi,
Did you make any changes in the server. Did you check the event viewer for any errors.
May 4, 2011 at 4:58 am
Hi Mahesh,
SP4 is not yet released for SQL 2005. Can you confirm whether it is 2005 or 2000.
September 17, 2009 at 1:27 am
Hi,
You can use bcp with xp_cmdshell or openrowset. Please refer to the following links. I recommend you to use open rowset. Please refer the following links.
bcp...
September 15, 2009 at 7:17 am
What is your recovery model. What is your backup plan. Without this I think its difficult to answer this. But if you are using full recovery model then you can...
August 11, 2009 at 4:36 am
Here is an excellent article which shows you to how to implement sql clustering on windows 2003 on your pc
August 11, 2009 at 1:09 am
Hi,
Are you using native backup or litespeed backup. If you are using litespeed check out this
http://www.sqlservercentral.com/Forums/Topic566942-146-1.aspx
August 10, 2009 at 7:16 am
Hi,
Just checked the logshipping. Restore process is failing with the following error.
2009-08-08 01:15:02.06*** Error: Could not apply log backup file '\\chandu\d$\sss\mydb_20090807191502.trn' to secondary database 'mydb_logshipping'.(Microsoft.SqlServer.Management.LogShipping) ***
2009-08-08...
August 7, 2009 at 2:04 pm
Hi,
Jamie thanks for the info. I agree with you. Backup of secondary database whether in standby or norecovery mode fails. Only alternate option is database snapshot....
August 7, 2009 at 1:18 pm
Hi,
I think this may help you.
select dp.NAME AS principal_name,dp.type_desc AS principal_type_desc,
o.NAME AS object_name,p.permission_name,p.state_desc AS permission_state_desc
from sys.database_permissions p left OUTER JOIN sys.all_objects o
on p.major_id = o.OBJECT_ID...
August 7, 2009 at 7:43 am
Checkout this http://technet.microsoft.com/en-us/library/cc917680.aspx
August 7, 2009 at 1:25 am
Viewing 15 posts - 1 through 15 (of 223 total)
This website stores cookies on your computer.
These cookies are used to improve your website experience and provide more personalized services to you, both on this website and through other media.
To find out more about the cookies we use, see our Privacy Policy