Viewing 15 posts - 4,051 through 4,065 (of 7,191 total)
Is your variable evaluated as an expression? If so, have you tried typing the "¬" characters directly into the expression editor? Another thing you could investigate is whether...
May 14, 2013 at 3:49 am
You do indeed have some strange hidded "¬" characters in that first part of the query. I managed to eliminate them by deleting that part and typing it in...
May 14, 2013 at 3:31 am
Thanks. Please also post the actual query and the actual error message.
John
May 14, 2013 at 3:03 am
Please will you provide table DDL for tabel1, a few rows of sample data and the actual error message you get.
Thanks
John
May 14, 2013 at 2:42 am
Is this homework? What have you tried so far?
Here's a hint: use GROUP BY and COUNT(*) in a CTE or subquery to find out how many of each product...
May 10, 2013 at 5:09 am
If you start SQL Server in single user mode, then assuming your machine\administrator account is a member of the local Administrators group in Windows, you will have full access to...
May 10, 2013 at 1:17 am
I'm happy to help to solve the problem, but I'm not going to solve it for you. The best way for you to learn is to try it out...
May 9, 2013 at 8:17 am
I think you just need to join the table to itself on t1.Customer = t2.Customer and t1.InvoiceNo = t2.InvoiceNo + 1.
John
May 9, 2013 at 7:55 am
Do you have any other account with full access to SQL Server (sa, for example)? Log in as that and recreate your account. Now log in with your...
May 9, 2013 at 6:59 am
What does the package do? Sounds like it may have altered some permissions.
John
May 9, 2013 at 6:40 am
You need to use a GROUP BY clause.
John
May 9, 2013 at 4:40 am
You need to run the two statements as one batch, since a variable will only "live" until the end of the batch.
John
May 9, 2013 at 3:21 am
Is this homework? Please show us what you've tried so far, and we'll see if we can help with where you're going wrong?
John
May 9, 2013 at 3:19 am
I don't know the answer to your question, but I can tell you what I'd do. I'd restore a copy of the corrupted database on to a test server,...
May 1, 2013 at 8:52 am
April 30, 2013 at 5:54 am
Viewing 15 posts - 4,051 through 4,065 (of 7,191 total)