json

Technical Article

RE: Challenge for SQL Gurus: Grouping and outer joins

  • Reply

Remi thanks. Just fuzzy thinking here in re-reading the original post I see that cartesian result is required. I must have a thing about requesting data that is not needed or creating a cartesian result when it is not needed. Speed and more Speed is always a concern. And it appears that I could use a does […]

2005-04-21

Technical Article

RE: INSERT fails -error with views

  • Reply

This was my original idea too butI did check the nulls - none. Only NOT nullable fields were the ones in the PK's in the tables and none of them was null in any of the tables..?select A.name, B.name, B.isnullable from sysobjects A, syscolumns B where A.id=B.id and B.isnullable = 0 and A.name like 'vins%' […]

You rated this post out of 5. Change rating

2005-04-21

Technical Article

RE: Concatenation

  • Reply

I agree as well.In the academic world everything can be made perfect, though in the real world everything ultimately has to be a tradeoff.. because it always depends I do belive (and hope I do as well) to always motivate comments when I say I think something is 'bad', and also try to provide or […]

You rated this post out of 5. Change rating

2005-04-21

Technical Article

RE: MS03-031

  • Reply

As a personal 'best practice' I ALWAYS reboot after SP or hotfix installations. You never know when you are going to run into that one instance that will drive you nuts ! And I even do so after an initial installation as well ...

You rated this post out of 5. Change rating

2005-04-19

Technical Article

RE: Security Audit

  • Reply

Run sp_configure "c2 audit", 1reconfigure with overrideRecycle the SQL Server.C2 auditing is now enabled and you will see trace files under mssql\data directory.

You rated this post out of 5. Change rating

2005-03-21

Technical Article

RE: Converting field from upper case to mixed case

  • Reply

This is another variant:create function dbo.udfCamelCase(@strin varchar(500)) returns varchar(500) AS begin declare @copy varchar(500), @i int, @len intset @copy = lower(ltrim(rtrim(@strin)))  select @copy = upper(left(@copy,1)) + substring(@copy,2, len(@copy)-1), @len = len(@copy) set @i = charindex(' ',@copy,1)while (@i < @len-1) and @i <> 0 begin  set @copy = stuff(@copy,@i+1,1,upper(substring(@copy,@i+1,1)))  set @i = charindex(' ',@copy,@i+1) end      […]

2005-03-11

Technical Article

locating rows with duplicate field values

  • Topic

HI. I have a sql table that has a field that acts as a key but the field was not set up as key. I know there are duplicate values in that field and I want to be able to display the rows where this particular field has been duplicated. Can someone share some sql […]

You rated this post out of 5. Change rating

2005-03-10

1 reads

Blogs

Small Data SF 2024

By

I can’t remember how I heard about Small Data SF 2024, but it caught...

A New Word: Moledro

By

moledro – n. a feeling of resonant connection with an author or artist you’ll...

Snowflake + Azure blob

By

Let’s go back to data platforms today and I want to talk about a...

Read the latest Blogs

Forums

7 sept, scheduled book

By philip.scott

Comments posted to this topic are about the item 7 sept, scheduled book

7 sept, schedlued article

By philip.scott

Comments posted to this topic are about the item 7 sept, schedlued article

6 sept, published book

By philip.scott

Comments posted to this topic are about the item 6 sept, published book

Visit the forum

Question of the Day

Azure Data Lake Storage Gen 2

Azure Data Lake Storage Gen 2 is built on ...?

See possible answers