In this post , I showed a way to generate 8 characters random password If you have table with data and add a column for password and want to fill that column with random passwords , you can use this approach. I have seen the usage of a function that generates...(read more)
Its very simple, free and SEO Friendly. Submit Now....
So, yet another SQLBits finished, and judging by the feedback we got it was the best yet. Certainly we had our highest ever attendance and the sponsors all seemed very happy (which is important because, after all, they're the ones paying for it); we've also had a number of very kind emails thanking us too. Now for a few months of peace and quiet before we start planning for the next one, which I suppose will be sometime in the autumn. Any suggestions on w...Full Article.
Hmm, you wait for years for commercial tools for monitoring Analysis Services (the only one I'd ever seen before was Companion for Analysis Services from SQLMinds) and then two come out at once. One of these tools I'll be blogging about towards the end of this week, hopefully - I've had a sneak preview and it looks very cool - but today I found out the following from SQL Solutions:
- OLAP...Full Article.
In this post splitting-csv-to-columns I showed how to split delimited data into multiple columns
Simon in his post 1 Use IN ...Full Article.
In the post Import/Export to Excel, I showed how to export data to EXCEL
The problem that most users find it is it wont include column names in the file and file should exists already with headings
This procedure would solve that problem
 ...Full Article.
If you want to know the datatype or length of a column , you can query on the system table syscolumns or system view INFORMATION_SCHEMA.COLUMNS But you dont need to query on system objects if you use SQL_VARIANT_PROPERTY function Example SELECT TOP 1...(read more)
How do I view the script of the DDL triggers? The answer is not sp_helptext 'DDL trigger' Because DDL triggers are defined at database / server level and not at any table level So they are not stored in a system objects like sys.objects and the...(read more)
This is used to set the number of rows affected for DML Declare @test table ( number int ) set rowcount 1 insert into @test select 11 union all select 10 set rowcount 0 select number from @test The above inserts only one row to the table variable @test...(read more)
Here's something that had me stumped for quite a long time earlier this week.
I'm doing some performance tuning work for a customer at the moment, and following my usual approach I took a test query, cleared the cache, ran it and noted how long it ran for and what I saw in Profiler and MDX Studio. However this time I saw some strange things happening: I'd run the same query on a cold cache more than once and the query times would differ by anything up to a minute; even more confusing, the ...Full Article.
Earlier this week Greg Galloway sent me an email about some new code he'd added to the Analysis Services Stored Procedure Project to clear the Windows system file cache:
http://asstoredprocedures.codeplex.com/Wiki/View.aspx?title=FileSystemCacheFull Article.
Microsoft SQL Server Community Projects & Samples
SQL Server 2008 product samples are available for each project below or you can download all the samples together (except AdventureWorks), or select from the menu below for specific projects.Microsoft SQL Server Community Projects & Samples
SQL Server 2008 product samples are available for each project below or you can download all the samples together (except AdventureWorks), or select from the menu below for specific projects.Blog Archive
-
▼
2009
(102)
-
▼
March
(23)
- Filling random passwords - Set based approach
- SQLBits IV
- SQL Solutions OLAP Heartbeat and OLAP Performance ...
- Splitting delimited data to columns - Set based ap...
- Return TOP N rows
- Export to EXCEL with column names
- SQL_VARIANT_PROPERTY function
- Time Calculation on Numbers
- Row_number() Function with no specific order
- Script of DDL triggers
- NULL on joined columns
- Happy New Year
- Compatibility Level of a database
- Find Alphanumerals only
- SQL_VARIANT datatype and behaviour changes
- Beware of the Usage of SET ROWCOUNT
- Which columns uniquely identify a row?
- Behavior Changes to Database Engine Features in SQ...
- BI Survey 8
- Query behaviour when you cross the LowMemoryLimit
- Analysis Services and the System File Cache
- Updated Wiki: Home
- Updated Wiki: Home
-
▼
March
(23)