Viewing 15 posts - 5,536 through 5,550 (of 14,953 total)
The for each procs use cursors, they just hide it a bit. If you're comfortable with doing the update that way, then write a simple cursor that selects from...
December 30, 2010 at 6:52 am
The first point in getting buy-in on a redesign is finding out exactly how well it's working the way it is. If it fulfills the business needs, and the...
December 30, 2010 at 6:48 am
Keep in mind that making someone a schema owner can have unintended consequences security-wise. Check the MSDN/BOL articles on GRANT with regards to schemas.
December 29, 2010 at 1:51 pm
You can use variables to modify connection options like server, table and column names in some SSIS objects. It really depends on what you are trying to achieve.
I read...
December 29, 2010 at 1:44 pm
There's no "to_date" function in T-SQL. Oracle, yes. MS SQL, no.
Is the ENTRY_DATE column a text data type (varchar/char/etc.) or a datetime data type?
December 29, 2010 at 1:14 pm
You can create them in either sequence. Schema first or login first. Works the same either way, just changes some of how you write the commands.
December 29, 2010 at 11:44 am
You can create them in either sequence. Schema first or login first.
December 29, 2010 at 11:42 am
When you say you're using SQL 2008 to connect, do you mean you're using SQL Server Management Studio 2008 Express, or something else?
December 29, 2010 at 11:37 am
Peter Brinkhaus (12/29/2010)
GSquared (12/29/2010)
One guy suggested A = 41, B = 42 (not sure where he got those numbers from)
Probably hex values. 0x41 = 65, the ascii-value of a capital...
December 29, 2010 at 11:35 am
It can apply to any account. It depends on the options set when the account was created.
December 29, 2010 at 11:03 am
SQL Challenge 46, right?
The answer is, only the person who wrote it knows what they meant, and they haven't replied yet. So, nobody knows.
Thus far, the guesses on it...
December 29, 2010 at 10:57 am
ALZDBA (12/29/2010)
/* day 2 of the current month 00:00:00.000 */
select dateadd(dd,1,dateadd(mm, datediff(mm, 0, getdate()), 0))
/* if you need day 2 12 noon */
select dateadd(hh,36,dateadd(mm, datediff(mm, 0, getdate()),...
December 29, 2010 at 9:27 am
Check the server logs on mercurio. Something changed, you just need to find what.
Maybe there's been a patch you don't know about. Maybe a firewall setting was changed....
December 29, 2010 at 9:24 am
You're doing Charindex backwards. The string you're looking for goes first, the string you're looking in goes second. Essentially, you're trying to find "houses public" in " "....
December 29, 2010 at 8:46 am
Per the error messages, the "mercurio" server isn't responding to a login request. Is that server up and running? Does it respond to a ping?
December 29, 2010 at 8:43 am
Viewing 15 posts - 5,536 through 5,550 (of 14,953 total)