Viewing 15 posts - 10,156 through 10,170 (of 13,469 total)
by default, all columns are added to the end to a table; to add one in the middle, you have to rebuild the whole table.
SQL doesn't care about column order...
January 9, 2010 at 5:53 am
just use a case statement to check for the number of periods; if it's two or more, use your formula, else get the full string.
typical results:
Node1.Node2
Node1.Node2
Node1.Node2
ServerName.DatabaseName
192.168
Bob
code example:
select
CASE
...
January 8, 2010 at 8:21 pm
i didn't see this thread, and started building my response before Jason posted the cross post info.
a Normal view is not materialized as data the way a table is;
views get...
January 8, 2010 at 11:30 am
edited to avoid crossposting the post as Jason suggested. see the original thread.
January 8, 2010 at 11:17 am
I might be misreading your requirement, but what i guess that was what i was trying to say....
you have access to the remote server, right?
if you do, then you can...
January 8, 2010 at 10:36 am
i see;
can't you go to the remote server, find the role that your user mydomainname\username is in, and then jsut add a SQL login to the same role?
then that logon...
January 8, 2010 at 8:41 am
Eric can you show us the proc text itself, and maybe post the execution plan of the proc when it runs? that would give us the critical diagnostic info, i...
January 7, 2010 at 4:54 pm
Jeff Moden (1/7/2010)
January 7, 2010 at 3:24 pm
the trick is to use a combination of dateadd and datediff, here's sme examples of some firsts and lasts; to apply the logic to a specific daye, like "what...
January 7, 2010 at 2:20 pm
there are a lot of options for linked server security; i've only used three ways, which i'll try to explain:

1: anyone accessing the linked server uses a specific logon from...
January 7, 2010 at 2:02 pm
i think you are looking for the LUHN mod 10 credit card validation, right? googling "TSQL LUHN mod 10"
got me this tsql code snippet"
http://www.novicksoftware.com/UDFofWeek/Vol2/T-SQL-UDF-Vol-2-Num-47-udf_Bank_IsLuhn.htm
January 7, 2010 at 1:50 pm
it looks like you have not added the PAYEE_ID yet:
ALTER TABLE #PAYEES
--add first item: column
ADD PAYEE_ID INT NOT NULL,
--add second item: constraint
CONSTRAINT PK_payeeID PRIMARY KEY CLUSTERED (PAYEE_ID) ...
January 6, 2010 at 5:20 pm
i copied and pasted the example, and it works fine; it might be the case-sensitive collation of your database...i noticed i spelled it "tally" in one spot, and "Tally" in...
January 6, 2010 at 4:24 pm
both of these syntaxes worked fine for me, against know tables for me; i don't get the syntax error you were using
ALTER TABLE [dbo].[MYTBL1] ADD DEFAULT (getdate()) FOR [APPLDT]
ALTER TABLE...
January 6, 2010 at 1:01 pm
i believe you are correct, you can use it to find non latin characters. I'd need to test it against more varied data; is it working for you as expected?...
January 6, 2010 at 11:46 am
Viewing 15 posts - 10,156 through 10,170 (of 13,469 total)