DAX

Technical Article

RE: Query date and time data

  • Reply

> select * from test where chkdate between '20040106' and dateadd(s, -1, '20040107')This might work with smalldatetime values, but it will possibly exclude some datetime values for that date.  See my predicates using >= and <  rather than BETWEEN.> select * from test where dbo.Dateonly(chkdate) = '2004-01-06'Three problems with this:By using a conversion style that uses only two digits […]

You rated this post out of 5. Change rating

2004-01-28

1 reads

Technical Article

RE: Encryption

  • Reply

Are you sending encrypted data or looking to encrypt the data stream? SSL will encrypt the stream, but the data will be text in the server. If you encrypt on the client, then you don't need to owrry about the stream.

You rated this post out of 5. Change rating

2004-01-27

Technical Article

Best Practice - Copy Database

  • Topic

Wondering what the best practice or best approach would be to solving a problem.  We are currently migrating from IIS to Sun Java Web Server.  This is being done to address various security flaws in IIS.  So the plan is to move all the applications and database to a development / test environment and run […]

You rated this post out of 5. Change rating

2004-01-27

1 reads

Technical Article

RE: Can I Recover to a previous point in time?

  • Reply

You can restore to an earlier point in time. Let's say you want to restore to 1 January. Restore a full backup from that day or a previous day (use WITH NORECOVERY). Then restore any transaction log backups that may have data up to 1 January (use WITH NORECOVERY on all but the last one). […]

You rated this post out of 5. Change rating

2004-01-23

1 reads

Technical Article

RE: Structuring SQL to retrieve data from child recs

  • Reply

weissa, Can you answer jxflagg Last question? I have no clue about what are your presentation requeriments and That makes it harder for me so I am guessing now: Suppose you have TableChild (ChildID int, ParentID int , Property varchar (100)) You Could Do: Declare @strAllChilds varchar(4000) Declare @MasterRecordID int SET @MasterRecordID = X SELECT […]

You rated this post out of 5. Change rating

2003-12-24

Technical Article

RE: QOD 9 Dec 03 - Users

  • Reply

Shoot the database designer! These questions just get worse over time. They mention, "Districts" and then have "DepartmentID". Nice. Furthermore, it is clunky and silly to implement database row level security, even in views for just such a thing. We do this continually through the application level, where it makes more sense and is ten […]

You rated this post out of 5. Change rating

2003-12-09

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