Viewing 15 posts - 5,851 through 5,865 (of 7,191 total)
Thanks for the article, Jimmy. One thing you might want to consider is that if you have large data files with small amounts of data in them, backup and...
August 27, 2009 at 2:35 am
Yes, and then revoke access for all the users on all objects except the procs and views, so that the users don't continue to run the old queries.
John
August 26, 2009 at 10:24 am
Start with a query something like this:
SELECT
TABLE_SCHEMA + '.' + TABLE_NAME AS [Table]
, COLUMN_NAME AS [Column]
, DATA_TYPE + COALESCE('('+CAST(CHARACTER_MAXIMUM_LENGTH AS varchar(4))+')','') AS [Data Type]
FROM
INFORMATION_SCHEMA.COLUMNS
ORDER BY
...
August 26, 2009 at 9:51 am
Interesting behaviour. If you change the last SET line to SET @msg = @msg+@msg+@msg then you get 111111 (at least you do with SQL Server 2005 SP3). Strange...
August 26, 2009 at 7:40 am
(2) View the data? What if you want to modify it?
(3) That's interesting - I've never used it. Does it include foreign key constraints?
(4) So the numbers are...
August 24, 2009 at 7:48 am
(1) Security. You can only have one password per spreadsheet, instead of one per user. And Excel passwords are very easy to crack.
(2) Concurrency. It's much easier...
August 24, 2009 at 3:00 am
Even if a query runs quicker without a where clause, this isn't necessarily a reason to leave it out. That's because if you return more data than you need,...
August 6, 2009 at 3:42 am
washawgolla (7/28/2009)
the connection string property of the OLE DB connection manager...
July 31, 2009 at 6:02 am
Look up the SERVERPROPERTY function in Books Online. One of the options tells you which physical node you're running on.
John
July 24, 2009 at 1:36 am
Jeff Moden (7/21/2009)
[font="Arial Black"]E. Using DBCC...
July 23, 2009 at 8:29 am
sqlbuddy123 (7/21/2009)
Here is an article which says that it's not recommended to have more than one instance installed on a single cluster node.
http://www.sql-server-performance.com/articles/clustering/clustering_best_practices_p1.aspx
...
July 23, 2009 at 7:51 am
Kevin
Try xp_msver. It returns lots of information on the processor, the Windows version, SQL Server and more.
John
July 23, 2009 at 7:39 am
Scott
I'm pleased that you found your answer, although I notice that the final query you showed doesn't look much like your original requirement!
I'd encourage you not to put object names...
July 9, 2009 at 7:42 am
Have you looked at DDL triggers? As far as I know, you can create a trigger that will fire when a DDL event (such as creation of a database)...
July 9, 2009 at 4:39 am
Got errors when I posted this and now it's there three times! And it won't let me delete it, either.
July 9, 2009 at 3:28 am
Viewing 15 posts - 5,851 through 5,865 (of 7,191 total)