Viewing 15 posts - 286 through 300 (of 2,893 total)
rahulme81 (7/22/2013)
Thanks Chris for the needed and help.Unfortunately I have to write a query in Sybase.
Have you tried to google "sybase forum"? You may find more releavnt help there...
😉
July 22, 2013 at 5:38 am
BoL clearly explains what can be done:
Permissions
The minimum permission required is ALTER on table_name. TRUNCATE TABLE permissions default to the table owner, members of the sysadmin fixed server role, and...
July 19, 2013 at 10:29 am
Something reseeded your identity. Check this sample:
CREATE TABLE TestA (id INT NOT NULL IDENTITY(1,1) PRIMARY KEY , val VARCHAR(10));
insert TestA values ('a')
insert TestA values ('b')
insert TestA values ('c')
insert TestA...
July 19, 2013 at 7:38 am
Ralf (7/19/2013)
maybe because of parallel processing and the large size of the table A (~300 MB)....this is...
July 19, 2013 at 7:21 am
Luis Cazares (7/18/2013)
Eugene Elutin (7/18/2013)
please note: use of cursor here is totally justified!It's justified, but my approach is shorter. Maybe I'm just lazy. 😀
Yeah, for just executing one line...
July 18, 2013 at 10:52 am
If you want to run some statement in mulitple databases simultaneously then you will need to write some sort of application which can open connections to your multiple databases at...
July 18, 2013 at 10:39 am
If you got "The conversion of a varchar data type to a datetime data type resulted in an out-of-range value." error that mean that there are some values in table...
July 18, 2013 at 10:28 am
Luis Cazares (7/18/2013)
In the original function it's returned as ItemNumber instead of PosNo
Yeah, I have slightly modified version in my play-ground. As per Luis point, just replace PosNo with...
July 18, 2013 at 10:10 am
Take a look into well-known J.Moden splitter function http://www.sqlservercentral.com/articles/Tally+Table/72993/
If you cross apply to this function on each column then you can join on ItemNo function return and you will get...
July 18, 2013 at 9:50 am
Use LEFT function to limit number of characters to be taken from columns which causing this problem.
P.S. Without having DDL of tables involved it's impossible to tell which exact...
July 18, 2013 at 8:57 am
You may want to try full text search here. Together with using WHERE EXISTS instead of JOIN, should be considerably faster than JOIN with non sargable LIKE. For some reason...
July 16, 2013 at 10:00 am
...
SSCrazy, thanks for the suggestion but unfortunately I can't remove the 2 fields from the existing table. As this is an existing SQL Table for another application. The...
July 11, 2013 at 3:41 am
riya_dave (7/10/2013)
also when i type alias my intellisense for that table doesnt get anything, if i type anoter table name
it display all...
July 10, 2013 at 9:59 am
I would model it differently, to avoid customly controlled auto increments.
What I would do is:
1. remove Library_Barcode and Food_Barcode columns from your Employee table
2. create two separate tables Employee_Library and...
July 10, 2013 at 9:51 am
i need to add 1more field from emp1. but when i am trying getting error like 'The multi-part identifier "r1.emp2" could not be bound.'
The above means that there is no...
July 10, 2013 at 9:44 am
Viewing 15 posts - 286 through 300 (of 2,893 total)