checksum

Technical Article

RE: SQL Table Changes and Who

  • Reply

You could set up a trigger to output details to a table of whose process is running although not the specific stored procedure or application. The following from BOL : This example returns the process ID, login name, and user name for the current user process. SELECT @@SPID AS 'ID', SYSTEM_USER AS 'Login Name', USER […]

You rated this post out of 5. Change rating

2004-08-31

2 reads

Technical Article

RE: Web Cube

  • Reply

Thanks a lot Jim, I'm very thankful One more thing: By company politics we only have office 2000 (and Office 2003 seems not to be here prior to 2005). Do you know if is there a way to install OWC 10 in Office 2000 (wihtout using Office XP/2003)? Using Office Update only get up to […]

You rated this post out of 5. Change rating

2004-08-05

Technical Article

RE: summarizing two tables into one table

  • Reply

Hi wenny,you can also use a full outer join like thisSELECT  distinct   CASE  ISNULL( t2.[name],'')  When '' THEN  t1.[name] else t2.name   end AS name, t1.feb, t2.March FROM         t1 full OUTER join                       t2 on t1.name = t2.name you should compare speed if the two tables are large.Cheers,John R. Hanson

You rated this post out of 5. Change rating

2004-04-15

Technical Article

Suggestions on processing result set in T-SQL

  • Topic

Attempting to get column name from varchar staging table and data type from target table.Query works, but need ideas on processing rows returned to select IsDate, IsNumeric .. based on data type.select is1.column_name, is2.data_type from   information_schema.columns is1,        information_schema.columns is2 where  is1.table_name = 'StagingIn and    is2.table_name = 'Target' and    is1.column_name = is2.column_name and    is2.data_type <> […]

You rated this post out of 5. Change rating

2004-01-18

1 reads

Technical Article

RE: Is this possible in a view

  • Reply

If prepared sql/string executes wont fit the bill, how about: set rowcount 10000 <do query> set rowcount 0 Or if you have to have this logic in a view/udf instead of a stored procedure how about using case statements and including logic for usage of any or all fields in a UDF? The below example […]

2003-11-25

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