ColumnStore Index

Technical Article

Datetime conversion in T-SQL

  • Topic

I need to compare two dates in the stored procedure: one is datetime that gets value from the system by getDate() function and another is from the database.Both values have format "MMM DD YYYY HH:MM", but the system datetime gives current HH:MM, when the database values have 00:00. I don't care about time, I just […]

You rated this post out of 5. Change rating

2004-07-15

3 reads

Technical Article

CASE With a Calculated Value

  • Topic

I'm trying to calculate a value and use that calculated value in a CASE statement without repeating it for each WHEN statement because of it's size and not wanting to cause processing to bog down.  I've attemted the T-SQL below but get an error and the first inequality statement.  Any help would be appreciated.SUM(CAST(ISNULL(o.Qty, 0) […]

You rated this post out of 5. Change rating

2004-07-14

21 reads

Technical Article

RE: DTS date stamp

  • Reply

Try these steps..1. Map the file location as a drive (like F:\folder) to the server where the sql  server is running. Specifying direct server path does not work.2.  Run 'dcomcnfg' exe and add in the account that SQL Server agent is running under. If it is running unde SA account, then choose 'Everyone'.Hope this helps!!!-sundar

You rated this post out of 5. Change rating

2004-07-14

Technical Article

RE: Using OpenRecordSet on a SQL table linked to Access

  • Reply

Couple of questions.... Why are you opening this workspace? Set mwspCalc = DBEngine.Workspaces(0) Why are you opening this database again? Why not just reuse "mdbCalc"? Set mdbExWk = CurrentDb Can you modify the SQL tables to put unique indexes on them? Then you should be able to open the tables just by using Set mrstCalc […]

You rated this post out of 5. Change rating

2004-07-10

Technical Article

sp_indexes_rowset

  • Topic

I have a stored procedure that is being executed constantly on the server , but is not being called from any of the asp code.  I looked up this proc and found it is and undocumentated  sp that will return detail information on the indexes of a table.Trace information:  ( the trace shows hundreds of […]

You rated this post out of 5. Change rating

2004-07-07

174 reads

Technical Article

SQLServer references under SAP IS-U

  • Topic

Hi guys,Do you know where I can find some refrences for SAP IS-U running on SQLServer?I'm running for my customer (1300+ named users) the SAP core system for over 2 years already with an average dialog response time of 0.3s.Now he wants to migrate it's mainframe based billing system (2 M+ customers) to SAP IS-U. But […]

You rated this post out of 5. Change rating

2004-07-01

3 reads

Technical Article

RE: Looping without a cursor

  • Reply

here's one i use... (just a shade faster than Julian's method  ) declare @clientId int select ClientId into #ClientList from ... while 1=1 begin   select @clientId = min(ClientId) from #ClientList where ClientId > isnull(@clientId, -1)   if @clientId is NULL break -- some code endhowever, using a cursor is sometimes more efficient than this method because […]

You rated this post out of 5. Change rating

2004-06-25

Blogs

SQL Saturday Boston 2024 Slides

By

Thanks to everyone that came to my talks. Slides are below. Best Practices for...

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...

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