Viewing 15 posts - 3,346 through 3,360 (of 3,396 total)
I would normalize and create a child table for the names. Then you can set the size to something sensible, like VARCHAR(25) or smaller for FirstName and LastName columns.
August 8, 2011 at 12:51 pm
You can probably do it with a combination of LEFT, RIGHT, and CHARINDEX
August 2, 2011 at 11:01 am
The ONLY difference between LIKE in SQL Server and LIKE in Access is the wildcard character...
Access uses * for a wildcard and SQL Server uses %
July 26, 2011 at 1:15 am
Developer is SUPER cheap... like $40-60. Definitely worth the investment if you want to learn SQL Server.
July 25, 2011 at 1:38 pm
This looks remarkably like a homework assignment... have you covered the GROUP BY clause yet?
July 20, 2011 at 4:36 pm
Awesome!! So even even I could do it at 7 AM without coffee!
THANKS!
July 8, 2011 at 6:35 am
Access and SQL Server are very different beasts. SQL Server has no GUI, so any query that points to a control on a form will fail when you try...
July 7, 2011 at 10:24 am
Oh please! Do your OWN homework!!!! This is stupid easy stuff that you can get help with from Books On Line (BOL)... It's not our fault you're too...
July 5, 2011 at 12:26 am
I would create a join table between the Users table and the Groups table (call it Membership). It would be set up just like any other junction table -...
July 4, 2011 at 9:42 pm
I would start with the features that SQL Server Standard does not support that Enterprise does. Those would be the most obvious. (Like partitioning tables, etc)
June 10, 2011 at 12:43 pm
no need to shout.
create a top values query and sort in ascending order.
June 9, 2011 at 3:41 pm
I have a function that retreives summary data often. So i can get this data, i create temporary tables to store some filtered data and then select some rows of...
June 6, 2011 at 12:28 pm
Here is the initial data:
USE SampleDatabase
GO
INSERT INTO Workstation (WkstationID, Manufacturer, OS, IP)
VALUES ('JFK1ABCD123', 'DELL', 'Windows 7.0', '123.123.123.21')
INSERT INTO Workstation (WkstationID, Manufacturer, OS, IP)
VALUES ('JFK1ABCD124', 'DELL', 'Windows XP', '123.123.123.22')
For starters, you...
June 5, 2011 at 9:35 pm
It should. IIRC, you can specify the collation in your query if you absolutely have to. Either that or you can set it globally in a stored procedure,...
June 5, 2011 at 1:12 pm
sqlguy,
I *think* you're on the money. I asked Louis Davidson (a SQL Server MVP/author) here in town about a question like that, and he says he deals with subclassing...
June 5, 2011 at 8:56 am
Viewing 15 posts - 3,346 through 3,360 (of 3,396 total)