SQLServer-QA.net - Knowledge Sharing Network (SSQA.net)
Invisible community contributions, Visible success to users
Browse by Tags
All Tags
»
sql server
»
script
(
RSS
)
2000
2005
blocking
columns
copy
create
database
databases
distributor
dmo
enterprise
enterprise manager
filegroup
generate
included
indexes
instances
kalen delaney
kba
login
management studio
manager
memory
merge
microsoft
package
principal
publisher
query
replication
schedule
security
service pack2
smo
snapshot
sp_help
sp_helpindex
sql queen
sqlagent
ssis
ssms
table
tables
token
transactional
tsql
users
vbscript
version
SQL Server Replication - resolving too many snapshots issues?
Published 15 April 8 6:15 AM |
SSQA.net
In case you have many snapshots generated within your Replication setup and having troubles in finding what kind of scheduled job is running during the time of snapshot publication. By default you coudl take help of system catalog MSsnapshot_agents and...
Replication FAQ - how to know Distributor and Publisher with scripts
Published 19 February 8 4:45 PM |
SSQA.net
A newbie set of question that how to know the whether the current server is distributor or publisher? Any pre-defined script to know any other publishers that are using as Distributor? Well, there are such pre-defined scripts and stored procedures are...
Copy the SQL Server instances list from Enterprise Manager using vbscript
Published 7 February 8 2:34 AM |
SSQA.net
As you may be aware you can take help of Registry settings in order to copy the SQL Server list that are managed from the Central Managed server. I have seen this VBScript posted by Mohammed U posted the following script, you can save it as .VBS that...
SQL Server SP_HELPINDEX - updated version that includes column names
Published 3 January 8 1:46 PM |
SSQA.net
Here is the incentive for the SQL Server users (this new year), you may be aware then using SP_HELPINDEX or SP_HELP could give some part of information on the indexes and database objects. But to know more about depedant columns you need to query INFORMATION_SCHEMA...
Script out Procedures and Functions - Part 2
Published 13 December 7 7:57 AM |
SSQA.net
Part 1 uses information_Schema.routines view and this is based on sp_helptext declare @sps table ( texts varchar ( 8000 )) insert into @sps select 'sp_helptext ''' + name + '''' from sysobjects where xtype in ( 'p'...
Using Management Studio unable to select "create one file per object"?
Published 17 October 7 4:6 AM |
SSQA.net
One of the Developer complained that he is unable to create one file per object using Generating SQL Scripts within Management Studio. It is one of the good feature within SQL Server 2000 using Enterprise Manager where you can differentiate the objects...
FIX: Error message when you run a SQL Server 2005 Integration Services package that contains a Script Component transformation:”Insufficient memory to continue the execution of the program”
Published 20 August 7 2:41 PM |
SSQA.net
Source: Knowledge Base Product: Microsoft SQL Server 2005 Enterprise Edition & SQL Server 2005 Standard Edition Notification Contents: New and Major Modifications FIX: Error message when you run a SQL Server 2005 Integration Services package that...
TSQL to generate blocking scenario for testing
Published 27 July 7 2:44 AM |
SSQA.net
Most of the times you have observed to identify the blocking and how to resolve them. How about you need a script to generate a blocking scenario within your queries, this is to identify the blocker script is working or not. Also will help to test whether...
Script to find out all the groups contain in the login token for every server principal
Published 17 July 7 10:44 AM |
SSQA.net
The following query will get you the information to find out the groups that contain user login token on that server principal: SELECT name , usage , type FROM sys.login_token ORDER BY usage , type , name go To find any Windows principal in the token...
You may be unable to execute SQL Server 2005 Integration Services packages that contain script tasks or script components
Published 12 July 7 5:35 PM |
SSQA.net
Source: Knowledge Base Product: Microsoft SQL Server 2005 Enterprise X64 Edition Notification Contents: New and All Modifications You may be unable to execute SQL Server 2005 Integration Services packages that contain script tasks or script components...
SQL 2005 TSQL Script to list tables, indexes, file groups along with file names
Published 25 June 7 7:39 AM |
SSQA.net
Here is the script I have used to list the information regarding database objects such as tables, indexes and file groups along with their file names : ( extracted from Technet ) select 'table_name'=object_name(i.id) ,i.indid ,'index_name'...
KBA: You receive an error message after you install SQL Server 2005 Service Pack 2 when you try to edit a Script component that is inside an SSIS package and the SSIS package was created in an earlier version of SQL Server 2005
Published 13 June 7 12:49 PM |
SSQA.net
Source: Knowledge Base Product: Microsoft SQL Server 2005 Enterprise Edition & Standard Edition Notification Contents: New and Major Modifications You receive an error message after you install SQL Server 2005 Service Pack 2 when you try to edit a...
Best way to generate DDL and data insert scripts
Published 11 June 7 8:53 AM |
SSQA.net
There is no easy or best way, but few options are available such as DMO or SMO or even using Enterprise Manager for SQL 2000 or SS Management Studio for SQL 2005. Look for DBPublish wizard tool in this case that will help quite a bit and a lso you can...
Search
Go
This Blog
Home
Contact
About
Tags
2005
2008
best practice
best practices
blogs
conference
database
databases
dmv
download
error
indexes
kba
management
microsoft
performance
query
replication
reporting services
security
sql server
ssis
ssms
tsql
webcast
Community
Home
Blogs
Media
Groups
Archives
October 2008 (4)
September 2008 (26)
August 2008 (32)
July 2008 (27)
June 2008 (39)
May 2008 (60)
April 2008 (35)
March 2008 (48)
February 2008 (59)
January 2008 (63)
December 2007 (58)
November 2007 (43)
October 2007 (100)
September 2007 (110)
August 2007 (146)
July 2007 (106)
June 2007 (114)
May 2007 (78)
April 2007 (2)
News
Syndication
RSS for Posts
Atom
RSS for Comments
Email Notifications
Go