data lake

Technical Article

Converting a MySQL query

  • Topic

Hi Guys I'm new to SQL Server 2000 and am trying to convert some of my php code that previously used MySQL. Here's the query I'm having trouble with: SELECT *,UNIX_TIMESTAMP(lastlogin) as lastlogindate from user WHERE confirmed='1' and approved='1' and login = 'blah' AND password = PASSWORD('blah'); SQL Server doesnt like the UNIX_TIMESTAMP conversion, or […]

You rated this post out of 5. Change rating

2005-01-05

2 reads

Technical Article

RE: Could not complete cursor operation 16958

  • Reply

Yup....post the code so that we can examine it.....and get rid of the cursor.If you don't know why I'm advocating the latter route....search here for 'good performance' and 'cursor'.....the 2 phrases rarely go together!99.99% of SQL actions can be done without cursors....with a (noticable)performance boost 99.99% of the time.....

You rated this post out of 5. Change rating

2005-01-05

2 reads

Technical Article

Get rid of commas in quoted text, then Bulk Insert

  • Topic

I was trying to use DTS to solve this problem, because DTS can deal with this issue, but I'm a hackboy and DTS is way over my head to automate.I could use bulk insert if I could get past one problem.  My CSV data files are garbage, and I have no control over the vendor.Lets […]

You rated this post out of 5. Change rating

2005-01-04

5 reads

Technical Article

RE: DTS Import Batch of XLS Files

  • Reply

I'm a hackboy.  I can get some stuff done in SQL Server, but I'd probably have an easier time learning to speak German than understand DTS, LOL. Actually, I could use bulk insert if I could get past one problem.  My CSV data files are garbage, and I have no control over the vendor.Lets say it […]

You rated this post out of 5. Change rating

2005-01-04

Technical Article

RE: Update Top 1

  • Reply

Thanks for the help guys...yu were right on the mark with the suggested code I didnt know i could do a join like that!!I hadnt considered that I was changing the primary key, but have had a good look, and in this case, it wont have any adverse affects on the dataThanks again!Ben

You rated this post out of 5. Change rating

2005-01-04

1 reads

Technical Article

RE: DTS + Logging + Transactions + SP = Impossibele ?

  • Reply

Adding the BEGIN TRAN..COMMIT isn't a big deal should be easy and BOL has decent examples.What you could do is in the SP that is being called write the information out using the @TABLE to whatever logging table you want and RETURN(@@ERROR).  This should throw you down the failure path where you can exit gracefully...

You rated this post out of 5. Change rating

2005-01-04

Technical Article

RE: Sample Adventure Works db?

  • Reply

Check the following location on your server/machine to see whether you can find AdventureworksDB files. If they are there attach them manually.C:\Program Files\Microsoft SQL Server\90\Tools\Samples\1033\awdb\AdventureWorks_Data.mdfC:\Program Files\Microsoft SQL Server\90\Tools\Samples\1033\awdb\AdventureWorks_Log.ldf

You rated this post out of 5. Change rating

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