Viewing 15 posts - 2,266 through 2,280 (of 3,489 total)
John,
Good point. The hard part for me is the "can't get a job without experience, can't get experience without a job" conundrum.
I did write one not terribly complex database...
September 21, 2015 at 2:10 pm
what database engine are you writing against? HeidiSQL?
September 20, 2015 at 11:30 pm
"If i try to run it against the database server using Heidi sql."
Is this a SQL Server database?
If you're using SQL Server, I would look here... just because it's a...
September 20, 2015 at 11:10 pm
Exercise your Google-Fu.
If you google it, you'll find more answers than you can shake a stick at.
September 20, 2015 at 10:31 pm
Maybe start here:
http://www.sqlservercentral.com/articles/Best+Practices/61537/
and maybe this:
http://spaghettidba.com/?s=how+to+post
Look at your question from our perspective. How are we to test any of it? Without data, we can't. If you set up the...
September 20, 2015 at 9:36 pm
Got some table definitions and some fake data? (Fake if it's confidential... representative is fine). And expected output?
September 20, 2015 at 8:00 pm
Why do you want to use cursors for this? "Cursor" is a dirty word around here. You could probably do all this with either aggregate or window functions.
September 20, 2015 at 7:16 pm
If your goal is to show all the sales from the latest sale date, then no.
September 19, 2015 at 12:08 am
Sorry, didn't read very carefully...
I think this will do what you want... or most of it.
DECLARE @Date1 DATE = '10-Aug-2015',
@Date2 DATE = '07-Sep-2015'
,@Diff INT
SELECT @Diff = ABS(DATEDIFF(day,@Date1,@Date2));
PRINT @Diff;
the ABS() removes...
September 18, 2015 at 1:45 am
For grins, create a dummy table and just copy a bunch of tweet URLs, and see if they work. That's where I got them for my report. If that...
September 17, 2015 at 10:31 pm
Sounds like homework. Show us what you tried.
September 17, 2015 at 7:12 pm
What happened when you ran the query to see if there were any "illegal" hyperlinks?
The INSERT statement should have nothing to do with it, but it's your database,...
September 17, 2015 at 6:33 pm
Table 1 has "Gender" field with "Male" and "Female" in it, table 2 has "Gender" field with "M" and "F" in it. a query to compare data and list the...
September 17, 2015 at 5:51 pm
Viewing 15 posts - 2,266 through 2,280 (of 3,489 total)