Viewing 15 posts - 4,876 through 4,890 (of 7,187 total)
You need to create a new project and add the package to the project. Then you can use the button with the green triangle to run the package (or...
December 12, 2011 at 5:59 am
Yes, I think it's possible to do this with a trigger. But I'm not doing all your work for you. Have a try, and post back if you...
December 12, 2011 at 5:56 am
What have you tried so far?
John
December 12, 2011 at 5:43 am
Also, you're confusing the output parameters of the procedure with the result set. You can only use INSERT INTO to insert the result set - not the output parameters.
Try...
December 7, 2011 at 3:27 am
No. From Books Online:
Members of the db_datawriter fixed database role can add, delete, or change data in all user tables.
Note the "all". You need to grant permissions...
December 6, 2011 at 7:36 am
You could put the different types of table in different schemas and then grant permissions on the schemas.
John
December 6, 2011 at 7:11 am
Easier than that in SQL Server 2008 and above:
SELECT CAST(CURRENT_TIMESTAMP AS time)
John
Edit: just noticed the milliseconds requirement. You can either convert the above to varchar and chop off the...
December 6, 2011 at 6:23 am
If there's nothing to choose between two different syntaxes, I usually go for the ANSI standard. That's why I prefer <> in this case.
John
December 6, 2011 at 6:20 am
OK, this is the last time I'm going to ask. I know it's extra effort for you to prepare and post full DDL, INSERT statements and procedure definitions, but...
December 6, 2011 at 5:02 am
Yes, the conditions in the WHERE clause do appear to be mutually exclusive. Don't change the ANDs to ORs just for the sake of getting it working, though -...
December 6, 2011 at 4:42 am
No, datetime values are not stored in any format - just as two integers, like Lowell said. You can use varchar to store dates in any format you like,...
December 6, 2011 at 4:15 am
Yes, I don't see why that shouldn't work.
John
December 2, 2011 at 3:29 am
Like I said, it's pseudo code, so you'll need to check the exact syntax of ALTER LOGIN and the structure of server_principals to see what the column names and the...
December 1, 2011 at 9:04 am
The only way I know for existing logins is to execute the ALTER LOGIN statements one by one. You can generate them very easily something like this (pseudo code...
December 1, 2011 at 8:56 am
Viewing 15 posts - 4,876 through 4,890 (of 7,187 total)